Interface KafkaConnectionDetails.Configuration

Enclosing interface:
KafkaConnectionDetails

public static interface KafkaConnectionDetails.Configuration
Kafka connection details configuration.
  • Method Details

    • of

      static KafkaConnectionDetails.Configuration of(List<String> bootstrapServers)
      Creates a new configuration with the given bootstrap servers.
      Parameters:
      bootstrapServers - the bootstrap servers
      Returns:
      the configuration
    • of

      static KafkaConnectionDetails.Configuration of(List<String> bootstrapServers, SslBundle sslBundle)
      Creates a new configuration with the given bootstrap servers and SSL bundle.
      Parameters:
      bootstrapServers - the bootstrap servers
      sslBundle - the SSL bundle
      Returns:
      the configuration
    • of

      static KafkaConnectionDetails.Configuration of(List<String> bootstrapServers, SslBundle sslBundle, String securityProtocol)
      Creates a new configuration with the given bootstrap servers, SSL bundle and security protocol.
      Parameters:
      bootstrapServers - the bootstrap servers
      sslBundle - the SSL bundle
      securityProtocol - the security protocol
      Returns:
      the configuration
    • getBootstrapServers

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

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

      default String getSecurityProtocol()
      Returns the security protocol.
      Returns:
      the security protocol