Skip to main content

Output broker events to a log file

Classification: Public

Hi,

I would like to output an event to a log file when certain actions occur on the broker to build up an audit trail for example:

Producer connected / disconnected
Consumer connected / disconnected
Message received
Message consumed

I do this already on ActiveMQ by using the plugins functionality and hooking into send and receive events etc.

Does Kafka provide a similar plugin mechanism that could be extended?

Thanks

Comments