Interface KafkaConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to a Kafka service.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Kafka connection details configuration. -
Method Summary
Modifier and TypeMethodDescriptiongetAdmin()
Returns the admin configuration.Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of bootstrap servers.Returns the consumer configuration.Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetConsumer()
Returns the producer configuration.Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetProducer()
default String
Returns the security protocol.default SslBundle
Returns the SSL bundle.Returns the Kafka Streams configuration.Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetStreams()
-
Method Details
-
getBootstrapServers
Returns the list of bootstrap servers.- Returns:
- the list of bootstrap servers
-
getSslBundle
Returns the SSL bundle.- Returns:
- the SSL bundle
- Since:
- 3.5.0
-
getSecurityProtocol
Returns the security protocol.- Returns:
- the security protocol
- Since:
- 3.5.0
-
getConsumer
Returns the consumer configuration.- Returns:
- the consumer configuration
- Since:
- 3.5.0
-
getProducer
Returns the producer configuration.- Returns:
- the producer configuration
- Since:
- 3.5.0
-
getAdmin
Returns the admin configuration.- Returns:
- the admin configuration
- Since:
- 3.5.0
-
getStreams
Returns the Kafka Streams configuration.- Returns:
- the Kafka Streams configuration
- Since:
- 3.5.0
-
getConsumerBootstrapServers
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetConsumer()
Returns the list of bootstrap servers used for consumers.- Returns:
- the list of bootstrap servers used for consumers
-
getProducerBootstrapServers
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetProducer()
Returns the list of bootstrap servers used for producers.- Returns:
- the list of bootstrap servers used for producers
-
getAdminBootstrapServers
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetAdmin()
Returns the list of bootstrap servers used for the admin.- Returns:
- the list of bootstrap servers used for the admin
-
getStreamsBootstrapServers
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 3.7.0 in favor ofgetStreams()
Returns the list of bootstrap servers used for Kafka Streams.- Returns:
- the list of bootstrap servers used for Kafka Streams
-
getAdmin()