Example of producing events in a kafka topic (java)