@ConfigurationProperties(prefix="spring.kafka") public class KafkaProperties extends Object
Users should refer to Kafka documentation for complete descriptions of these properties.
Modifier and Type | Class and Description |
---|---|
static class |
KafkaProperties.Admin |
static class |
KafkaProperties.Consumer |
static class |
KafkaProperties.Jaas |
static class |
KafkaProperties.Listener |
static class |
KafkaProperties.Producer |
static class |
KafkaProperties.Ssl |
static class |
KafkaProperties.Streams
High (and some medium) priority Streams properties and a general properties bucket.
|
static class |
KafkaProperties.Template |
Constructor and Description |
---|
KafkaProperties() |
public String getClientId()
public void setClientId(String clientId)
public KafkaProperties.Consumer getConsumer()
public KafkaProperties.Producer getProducer()
public KafkaProperties.Listener getListener()
public KafkaProperties.Admin getAdmin()
public KafkaProperties.Streams getStreams()
public KafkaProperties.Ssl getSsl()
public KafkaProperties.Jaas getJaas()
public KafkaProperties.Template getTemplate()
public Map<String,Object> buildConsumerProperties()
This allows you to add additional properties, if necessary, and override the default kafkaConsumerFactory bean.
public Map<String,Object> buildProducerProperties()
This allows you to add additional properties, if necessary, and override the default kafkaProducerFactory bean.
public Map<String,Object> buildAdminProperties()
This allows you to add additional properties, if necessary, and override the default kafkaAdmin bean.
public Map<String,Object> buildStreamsProperties()
This allows you to add additional properties, if necessary.
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.