Description
Redpanda is the Kafka-compatible streaming data platform.Examples
Dependency:
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>redpanda</artifactId>
<version>1.20.0</version>
<scope>test</scope>
</dependency>
Usage:
var redpanda = new RedpandaContainer(DockerImageName.parse("docker.redpanda.com/redpandadata/redpanda:v22.2.1"));
redpanda.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/redpanda
Usage:
redpandaContainer, err := redpanda.Run(ctx, "docker.redpanda.com/redpandadata/redpanda:v23.1.7")
Dependency:
dotnet add package Testcontainers.Redpanda --version 3.9.0
Usage:
var redpandaContainer = new RedpandaBuilder()
.WithImage("docker.redpanda.com/redpandadata/redpanda:v22.2.1")
.Build();
await redpandaContainer.StartAsync();
Dependency:
npm install @testcontainers/redpanda --save-dev
Usage:
const redpandaContainer = await new RedpandaContainer().start();
Dependency:
pip install testcontainers[kafka]
Usage:
with RedpandaContainer() as redpanda:
connection = redpanda.get_bootstrap_server()