Add support for Apache Pulsar
Add support for Apache Pulsar using the Spring for Apache Pulsar project. See gh-34763 Co-authored-by: Phillip Webb <pwebb@vmware.com>
This commit is contained in:
@@ -24,6 +24,7 @@ import org.testcontainers.utility.DockerImageName;
|
||||
* @author Stephane Nicoll
|
||||
* @author Eddú Meléndez
|
||||
* @author Moritz Halbritter
|
||||
* @author Chris Bono
|
||||
* @since 2.3.6
|
||||
*/
|
||||
public final class DockerImageNames {
|
||||
@@ -50,6 +51,8 @@ public final class DockerImageNames {
|
||||
|
||||
private static final String ORACLE_XE_VERSION = "18.4.0-slim";
|
||||
|
||||
private static final String PULSAR_VERSION = "3.1.0";
|
||||
|
||||
private static final String POSTGRESQL_VERSION = "14.0";
|
||||
|
||||
private static final String RABBIT_VERSION = "3.11-alpine";
|
||||
@@ -153,6 +156,14 @@ public final class DockerImageNames {
|
||||
return DockerImageName.parse("gvenzl/oracle-xe").withTag(ORACLE_XE_VERSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a {@link DockerImageName} suitable for running Apache Pulsar.
|
||||
* @return a docker image name for running pulsar
|
||||
*/
|
||||
public static DockerImageName pulsar() {
|
||||
return DockerImageName.parse("apachepulsar/pulsar").withTag(PULSAR_VERSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a {@link DockerImageName} suitable for running PostgreSQL.
|
||||
* @return a docker image name for running postgresql
|
||||
|
||||
Reference in New Issue
Block a user