Interface KafkaController

All Known Implementing Classes:
DockerKafkaController, OcpKafkaController

public interface KafkaController
Control over Kafka cluster
Author:
Jakub Cechacek
  • 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

      void waitForCluster() throws InterruptedException
      Waits for cluster to be available
      Throws:
      InterruptedException
    • getDefaultConsumerProperties

      default Properties getDefaultConsumerProperties()
      Returns:
      default kafka consumer configuration