data-source - generate switch events to rabbitmq