1

I'm working with a product suite which uses RabbitMQ as a back end for service bus messaging. Many of the clients use software (NeuronESB) which is supposed to automatically configure exchanges, queues and channels as needed. Somewhere in the system exchanges in Rabbit are being deleted and not re-created, resulting in unexpected issues. Because of the size of the system and closed source nature of at least one of the service bus clients, an audit of code has been unsuccessful in determining the source of the deletion of these exchanges.

I have tried using the firehose functionality of Rabbit, but that only provides the messages being sent through Rabbit, not the internal activities I need.

What methods are available for logging the creation and deletion of exchanges in RabbitMQ? Ideally I would like to know the date, time and client IP of the deleter, but even just getting the date and time would allow me to narrow my search of logs to help find the offender.

4

1 回答 1

3

试试应该可以解决问题的事件交换插件。

如果由于某种原因不工作,我能想到的最后手段:

如果您的应用程序很忙,请获得一个客户端/消息较少的测试环境,然后使用wireshark(它可以理解 amqp)分析您的流量以过滤掉删除交换的请求。

于 2017-11-27T21:49:03.967 回答