Interface KafkaConnectionDetails
- All Superinterfaces:
org.springframework.boot.autoconfigure.service.connection.ConnectionDetails
public interface KafkaConnectionDetails
extends org.springframework.boot.autoconfigure.service.connection.ConnectionDetails
Details required to establish a connection to a Kafka service.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceKafka connection details configuration. -
Method Summary
Modifier and TypeMethodDescriptiongetAdmin()Returns the admin configuration.Returns the list of bootstrap servers.Returns the consumer configuration.Returns the producer configuration.default StringReturns the security protocol.default org.springframework.boot.ssl.SslBundleReturns the SSL bundle.Returns the Kafka Streams configuration.
-
Method Details
-
getBootstrapServers
-
getSslBundle
default org.springframework.boot.ssl.SslBundle getSslBundle()Returns the SSL bundle.- Returns:
- the SSL bundle
-
getSecurityProtocol
-
getConsumer
Returns the consumer configuration.- Returns:
- the consumer configuration
-
getProducer
Returns the producer configuration.- Returns:
- the producer configuration
-
getAdmin
Returns the admin configuration.- Returns:
- the admin configuration
-
getStreams
Returns the Kafka Streams configuration.- Returns:
- the Kafka Streams configuration
-