Skip to content

Commit be5b4d5

Browse files
authored
Fix Redpanda command (#7045)
Mode `dev-container` already configures * --overprovisioned * --reserve-memory 0M * --check=false * --unsafe-bypass-fsync Also, set recommended memory
1 parent be7cbe4 commit be5b4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/redpanda/src/main/java/org/testcontainers/redpanda/RedpandaContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected void containerIsStarting(InspectContainerResponse containerInfo) {
5555

5656
String command = "#!/bin/bash\n";
5757

58-
command += "/usr/bin/rpk redpanda start --mode dev-container --overprovisioned --smp 1 ";
58+
command += "/usr/bin/rpk redpanda start --mode dev-container --smp 1 --memory 1G ";
5959
command += "--kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092 ";
6060
command +=
6161
"--advertise-kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://" + getHost() + ":" + getMappedPort(9092);

0 commit comments

Comments
 (0)