Class KafkaHandler

  • All Implemented Interfaces:
    org.swisspush.gateleen.core.configuration.ConfigurationResourceObserver

    public class KafkaHandler
    extends org.swisspush.gateleen.core.configuration.ConfigurationResourceConsumer
    Handler class for all Kafka related requests. The main responsibilities for this handler are:
    • Manage kafka configuration resource
    • Manage the lifecycle of KafkaProducer based on the kafka configuration resource
    • Convert requests to messages and forward them to kafka
    Author:
    https://github.com/mcweba [Marc-Andre Weber]