Kafka Tool: sample code for pub/sub with Apache Kafka