Class EmbeddedBrokerRule

java.lang.Object
org.junit.rules.ExternalResource
io.camunda.zeebe.test.EmbeddedBrokerRule
All Implemented Interfaces:
org.junit.rules.TestRule

@Deprecated(since="1.3.0", forRemoval=true) public class EmbeddedBrokerRule extends org.junit.rules.ExternalResource
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.3.0. See issue 8143 for more information.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Supplier<InputStream>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final org.slf4j.Logger
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmbeddedBrokerRule(String configFileClasspathLocation, Consumer<BrokerCfg>... configurators)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    EmbeddedBrokerRule(Supplier<InputStream> configSupplier, int timeout, Consumer<BrokerCfg>... configurators)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    EmbeddedBrokerRule(Supplier<InputStream> configSupplier, Duration timeout, Consumer<BrokerCfg>... configurators)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_CONFIG_FILE

      public static final String DEFAULT_CONFIG_FILE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_TIMEOUT

      public static final int DEFAULT_TIMEOUT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TEST_RECORD_EXPORTER_ID

      public static final String TEST_RECORD_EXPORTER_ID
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • LOG

      protected static final org.slf4j.Logger LOG
      Deprecated, for removal: This API element is subject to removal in a future version.
    • configSupplier

      protected final Supplier<InputStream> configSupplier
      Deprecated, for removal: This API element is subject to removal in a future version.
    • startTime

      protected long startTime
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • EmbeddedBrokerRule

      @SafeVarargs public EmbeddedBrokerRule(Consumer<BrokerCfg>... configurators)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EmbeddedBrokerRule

      @SafeVarargs public EmbeddedBrokerRule(String configFileClasspathLocation, Consumer<BrokerCfg>... configurators)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EmbeddedBrokerRule

      @SafeVarargs public EmbeddedBrokerRule(Supplier<InputStream> configSupplier, int timeout, Consumer<BrokerCfg>... configurators)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EmbeddedBrokerRule

      @SafeVarargs public EmbeddedBrokerRule(Supplier<InputStream> configSupplier, Duration timeout, Consumer<BrokerCfg>... configurators)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • assignSocketAddresses

      public static void assignSocketAddresses(BrokerCfg brokerCfg)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      apply in interface org.junit.rules.TestRule
      Overrides:
      apply in class org.junit.rules.ExternalResource
    • before

      public void before()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      before in class org.junit.rules.ExternalResource
    • after

      public void after()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      after in class org.junit.rules.ExternalResource
    • getBrokerCfg

      public BrokerCfg getBrokerCfg()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGatewayAddress

      public InetSocketAddress getGatewayAddress()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getClock

      public ControlledActorClock getClock()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • restartBroker

      public void restartBroker()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stopBroker

      public void stopBroker()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • startBroker

      public void startBroker()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • configureBroker

      public void configureBroker(BrokerCfg brokerCfg)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • purgeSnapshots

      public void purgeSnapshots()
      Deprecated, for removal: This API element is subject to removal in a future version.