eiffel-community / eiffel-gerrit-herald

Service for emitting Eiffel messages over RabbitMQ, triggered by Gerrit events.
Apache License 2.0
3 stars 2 forks source link

Exchange declarations can't always be active #7

Closed magnusbaeck closed 4 years ago

magnusbaeck commented 4 years ago

Description

The channel declarations are always active. This rarely works in production settings since it requires the user to have the configure permission for the exchange. Normal users rarely have that permission. It's still useful to be able to declare exchange actively but there must be a configuration option to be able to do passive declarations instead.

Motivation

By always making active declarations Gerrit Herald will be unable to connect to many real-world RabbitMQ instances.

Possible Drawbacks

None.