noxdafox / rabbitmq-message-deduplication

RabbitMQ Plugin for filtering message duplicates
Mozilla Public License 2.0
277 stars 34 forks source link

misleading error message #78

Closed mhewedy closed 2 years ago

mhewedy commented 2 years ago

"rejected Unable to publish message. Check queue limits."

image

WE will not know the cause, either queue limit or duplication detected. I think it better to have a more expressive message.

noxdafox commented 2 years ago

This is not something we can control within this plugin unfortunately.

The error message is hardcoded within the management plugin: https://github.com/rabbitmq/rabbitmq-server/blob/26c24b3e45232b2c47ff0c17998424e9c041edbb/deps/rabbitmq_management/src/rabbit_mgmt_wm_exchange_publish.erl#L95

Hence, this issue should be opened against RabbitMQ itself.