Interface KafkaController
- All Known Implementing Classes:
DockerKafkaController,OcpKafkaController
public interface KafkaController
Control over Kafka cluster
- Author:
- Jakub Cechacek
-
Method Summary
Modifier and TypeMethodDescriptionThe Bootstrap address returned by this method may not be reachable form arbitrary network.default PropertiesThe Bootstrap address returned by this method must be reachable form arbitrary network.booleanundeploy()Undeploy this Kafka clustervoidWaits for cluster to be available
-
Method Details
-
getPublicBootstrapAddress
String getPublicBootstrapAddress()The Bootstrap address returned by this method must be reachable form arbitrary network.- Returns:
- Publicly reachable Kafka Bootstrap Server address
-
getBootstrapAddress
String getBootstrapAddress()The Bootstrap address returned by this method may not be reachable form arbitrary network.- Returns:
- Kafka Bootstrap Server address
-
getTlsBootstrapAddress
String getTlsBootstrapAddress() -
undeploy
boolean undeploy()Undeploy this Kafka cluster- Returns:
- true on operation success
-
waitForCluster
Waits for cluster to be available- Throws:
InterruptedException
-
getDefaultConsumerProperties
- Returns:
- default kafka consumer configuration
-