Interface KafkaConnectionDetails.Configuration
- Enclosing interface:
- KafkaConnectionDetails
public static interface KafkaConnectionDetails.Configuration
Kafka connection details configuration.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of bootstrap servers.default String
Returns the security protocol.default SslBundle
Returns the SSL bundle.Creates a new configuration with the given bootstrap servers.Creates a new configuration with the given bootstrap servers and SSL bundle.Creates a new configuration with the given bootstrap servers, SSL bundle and security protocol.
-
Method Details
-
of
Creates a new configuration with the given bootstrap servers.- Parameters:
bootstrapServers
- the bootstrap servers- Returns:
- the configuration
-
of
Creates a new configuration with the given bootstrap servers and SSL bundle.- Parameters:
bootstrapServers
- the bootstrap serverssslBundle
- 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 serverssslBundle
- the SSL bundlesecurityProtocol
- the security protocol- Returns:
- the configuration
-
getBootstrapServers
Returns the list of bootstrap servers.- Returns:
- the list of bootstrap servers
-
getSslBundle
Returns the SSL bundle.- Returns:
- the SSL bundle
-
getSecurityProtocol
Returns the security protocol.- Returns:
- the security protocol
-