public class PulsarContainer extends org.testcontainers.containers.GenericContainer<PulsarContainer>
Supported images: apachepulsar/pulsar, apachepulsar/pulsar-all
Exposed ports:
| Modifier and Type | Field and Description |
|---|---|
static int |
BROKER_HTTP_PORT |
static int |
BROKER_PORT |
static java.lang.String |
METRICS_ENDPOINT
Deprecated.
The metrics endpoint is no longer being used for the WaitStrategy.
|
| Constructor and Description |
|---|
PulsarContainer()
Deprecated.
use
PulsarContainer(DockerImageName) instead |
PulsarContainer(org.testcontainers.utility.DockerImageName dockerImageName) |
PulsarContainer(java.lang.String pulsarVersion)
Deprecated.
use
PulsarContainer(DockerImageName) instead |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
java.lang.String |
getHttpServiceUrl() |
java.lang.String |
getPulsarBrokerUrl() |
protected void |
setupCommandAndEnv() |
PulsarContainer |
withFunctionsWorker() |
PulsarContainer |
withTransactions() |
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerDef, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningpublic static final int BROKER_PORT
public static final int BROKER_HTTP_PORT
@Deprecated public static final java.lang.String METRICS_ENDPOINT
@Deprecated public PulsarContainer()
PulsarContainer(DockerImageName) instead@Deprecated public PulsarContainer(java.lang.String pulsarVersion)
PulsarContainer(DockerImageName) insteadpublic PulsarContainer(org.testcontainers.utility.DockerImageName dockerImageName)
protected void configure()
configure in class org.testcontainers.containers.GenericContainer<PulsarContainer>public PulsarContainer withFunctionsWorker()
public PulsarContainer withTransactions()
public java.lang.String getPulsarBrokerUrl()
public java.lang.String getHttpServiceUrl()
protected void setupCommandAndEnv()