Interface KafkaConnectionDetails

All Superinterfaces:
ConnectionDetails

public interface KafkaConnectionDetails extends ConnectionDetails
Details required to establish a connection to a Kafka service.
Since:
4.0.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Details

    • getBootstrapServers

      List<String> getBootstrapServers()
      Returns the list of bootstrap servers.
      Returns:
      the list of bootstrap servers
    • getSslBundle

      default @Nullable SslBundle getSslBundle()
      Returns the SSL bundle.
      Returns:
      the SSL bundle
    • getSecurityProtocol

      default @Nullable String getSecurityProtocol()
      Returns the security protocol.
      Returns:
      the security protocol
    • getConsumer

      default KafkaConnectionDetails.Configuration getConsumer()
      Returns the consumer configuration.
      Returns:
      the consumer configuration
    • getProducer

      default KafkaConnectionDetails.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