-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Producer fails if exchange is durable #281
Comments
PerfTest declares it as transient:
|
That's right. How can PerfTest be configured to declare the exchange as durable? |
I don't see a way. Exchanges are declared like so:
but you don't have to declare |
While that is a nice workaround, it is not currently possible to declare a durable exchange with PerfTest. Not sure if we want to add this feature, but it's a limitation that I've hit today. |
PerfTest should not try to declare an exchange that starts with We can add yet another flag to create durable exchanges. I think it's not there because the durability of exchanges is not critical for benchmarks, but this is not a reason not to add it. |
@gerhard any suggestions for the flag? |
I'm thinking I don't want to make this bigger than it needs to be, but it would make sense if this new flag applied to queues too. |
|
The presence of the My use-case is declaring and publishing into a durable exchange. As long as I can do that with PerfTest, I'm good. The context is knative-extensions/eventing-rabbitmq#522 and the requirement is to generate some load on RabbitMQ that the From a K8s perspective, declaring an Now you have all the context 🙂 |
Even though it won't help for your case until we decide to change PerfTest behavior in #282, I think we can add the My suggestion is that it does the same as Note the Basically Note also the |
I needed a single producer publishing into
amq.direct
exchange. I do not have any queues or consumers.I was not expecting this to fail:
How can I configure PerfTest to publish into a durable exchange?
The text was updated successfully, but these errors were encountered: