public interface KafkaClientFactory
KafkaConsumer and KafkaProducer instances.| Modifier and Type | Method and Description |
|---|---|
String |
getBrokers(KafkaConfiguration configuration)
URL of the Kafka brokers to use.
|
org.apache.kafka.clients.consumer.KafkaConsumer |
getConsumer(Properties kafkaProps)
Creates a new instance of the
KafkaConsumer class. |
org.apache.kafka.clients.producer.KafkaProducer |
getProducer(Properties kafkaProps)
Creates a new instance of the
KafkaProducer class. |
org.apache.kafka.clients.producer.KafkaProducer getProducer(Properties kafkaProps)
KafkaProducer class.kafkaProps - The producer configs.org.apache.kafka.clients.consumer.KafkaConsumer getConsumer(Properties kafkaProps)
KafkaConsumer class.kafkaProps - The consumer configs.String getBrokers(KafkaConfiguration configuration)
configuration - the configurationApache Camel