Class KafkaProperties
Users should refer to Kafka documentation for complete descriptions of these properties.
- Since:
- 1.5.0
- Author:
- Gary Russell, Stephane Nicoll, Artem Bilan, Nakul Mishra, Tomaz Fernandes, Andy Wilkinson, Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
static class
static class
static class
static class
static class
static class
High (and some medium) priority Streams properties and a general properties bucket.static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.buildAdminProperties
(SslBundles sslBundles) Create an initial map of admin properties from the state of this instance.Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildConsumerProperties(SslBundles)
}buildConsumerProperties
(SslBundles sslBundles) Create an initial map of consumer properties from the state of this instance.Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildProducerProperties(SslBundles)
}buildProducerProperties
(SslBundles sslBundles) Create an initial map of producer properties from the state of this instance.Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildStreamsProperties(SslBundles)
}buildStreamsProperties
(SslBundles sslBundles) Create an initial map of streams properties from the state of this instance.getAdmin()
getJaas()
getRetry()
getSsl()
void
setBootstrapServers
(List<String> bootstrapServers) void
setClientId
(String clientId)
-
Constructor Details
-
KafkaProperties
public KafkaProperties()
-
-
Method Details
-
getBootstrapServers
-
setBootstrapServers
-
getClientId
-
setClientId
-
getProperties
-
getConsumer
-
getProducer
-
getListener
-
getAdmin
-
getStreams
-
getSsl
-
getJaas
-
getTemplate
-
getSecurity
-
getRetry
-
buildConsumerProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildConsumerProperties(SslBundles)
}Create an initial map of consumer properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaConsumerFactory
bean.- Returns:
- the consumer properties initialized with the customizations defined on this instance
-
buildConsumerProperties
Create an initial map of consumer properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaConsumerFactory
bean.- Parameters:
sslBundles
- bundles providing SSL trust material- Returns:
- the consumer properties initialized with the customizations defined on this instance
-
buildProducerProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildProducerProperties(SslBundles)
}Create an initial map of producer properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaProducerFactory
bean.- Returns:
- the producer properties initialized with the customizations defined on this instance
-
buildProducerProperties
Create an initial map of producer properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaProducerFactory
bean.- Parameters:
sslBundles
- bundles providing SSL trust material- Returns:
- the producer properties initialized with the customizations defined on this instance
-
buildAdminProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildAdminProperties(SslBundles)
}Create an initial map of admin properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaAdmin
bean.- Returns:
- the admin properties initialized with the customizations defined on this instance
-
buildAdminProperties
Create an initial map of admin properties from the state of this instance.This allows you to add additional properties, if necessary, and override the default
kafkaAdmin
bean.- Parameters:
sslBundles
- bundles providing SSL trust material- Returns:
- the admin properties initialized with the customizations defined on this instance
-
buildStreamsProperties
Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofbuildStreamsProperties(SslBundles)
}Create an initial map of streams properties from the state of this instance.This allows you to add additional properties, if necessary.
- Returns:
- the streams properties initialized with the customizations defined on this instance
-
buildStreamsProperties
Create an initial map of streams properties from the state of this instance.This allows you to add additional properties, if necessary.
- Parameters:
sslBundles
- bundles providing SSL trust material- Returns:
- the streams properties initialized with the customizations defined on this instance
-
buildAdminProperties(SslBundles)
}