Interface KafkaConnectionDetails.Configuration
- Enclosing interface:
KafkaConnectionDetails
public static interface KafkaConnectionDetails.Configuration
Kafka connection details configuration.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
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
-
getSslBundle
-
getSecurityProtocol
-