Configuring the Kafka Consumer. Let's say I have a kafka topic for alerting purposes.You initialize a Kafka producer via the setupProducer() function. Then, you create a Gin router via gin. The Notification Service is responsible for receiving requests, saving notifications to MySQL, and publishing messages to Kafka. It's quite useful if you want to start your own push notification service, or to just run it as a backend for a mobile application. GeTui is one of the largest third-party push notification service providers in China. Complete Care Family Dentistry. Enroll in "Complete Java Course: OOP, Data Structures, Multithreading" on Udemy and master the art of Java programming from the ground up.