Package io.camunda.zeebe.test
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
FieldsModifier and TypeFieldDescriptionprotected final Supplier<InputStream>Deprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.protected static final org.slf4j.LoggerDeprecated, for removal: This API element is subject to removal in a future version.protected longDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedBrokerRule(String configFileClasspathLocation, Consumer<BrokerCfg>... configurators) Deprecated, for removal: This API element is subject to removal in a future version.EmbeddedBrokerRule(Consumer<BrokerCfg>... configurators) 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 TypeMethodDescriptionvoidafter()Deprecated, for removal: This API element is subject to removal in a future version.org.junit.runners.model.Statementapply(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 voidassignSocketAddresses(BrokerCfg brokerCfg) Deprecated, for removal: This API element is subject to removal in a future version.voidbefore()Deprecated, for removal: This API element is subject to removal in a future version.voidconfigureBroker(BrokerCfg brokerCfg) 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.getClock()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.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
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_TIMEOUTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
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 LOGDeprecated, for removal: This API element is subject to removal in a future version. -
configSupplier
Deprecated, for removal: This API element is subject to removal in a future version. -
startTime
protected long startTimeDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
EmbeddedBrokerRule
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
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:
applyin interfaceorg.junit.rules.TestRule- Overrides:
applyin classorg.junit.rules.ExternalResource
-
before
public void before()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
beforein classorg.junit.rules.ExternalResource
-
after
public void after()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
afterin classorg.junit.rules.ExternalResource
-
getBrokerCfg
Deprecated, for removal: This API element is subject to removal in a future version. -
getGatewayAddress
Deprecated, for removal: This API element is subject to removal in a future version. -
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
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.
-