Simple mqtt events configuration

Hi,

I’m looking for a very simple configuration that outputs every sensor/switch event as a simple mqtt message with the latest state simular to the way domoticz is doing. Do I need to use EventStream for this or is there a simpler solution available?

Arnoud