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 @Nullable StringReturns the security protocol.default @Nullable org.springframework.boot.ssl.SslBundleReturns the SSL bundle.Returns the Kafka Streams configuration.
-
Method Details
-
getBootstrapServers
-
getSslBundle
default @Nullable org.springframework.boot.ssl.SslBundle getSslBundle()Returns the SSL bundle.- Returns:
- the SSL bundle
-
getSecurityProtocol
Returns the security protocol.- Returns:
- the security protocol
-
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
-