Class KafkaResource

java.lang.Object
io.clonecloudstore.test.resource.kafka.KafkaResource
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class KafkaResource extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Resource Lifecycle Manager for Kafka
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context, io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    init, inject, inject, order, setContext
  • Constructor Details

    • KafkaResource

      public KafkaResource()
  • Method Details

    • getBootstrapServers

      public static String getBootstrapServers()
    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager