Skip to content

Commit

Permalink
[Fix #3642] Update RedPanda version to latest
Browse files Browse the repository at this point in the history
A try to avoid ramdon node disconnection affecting all client nodes
  • Loading branch information
fjtirado committed Aug 30, 2024
1 parent d17602e commit 82fc131
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kogito-build/kogito-build-no-bom-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<!-- container images for testing -->
<container.image.infinispan>infinispan/server:${version.org.infinispan}</container.image.infinispan>
<container.image.keycloak>quay.io/keycloak/keycloak:${version.org.keycloak}</container.image.keycloak>
<container.image.kafka>vectorized/redpanda:v21.11.8</container.image.kafka>
<container.image.kafka>redpandadata/redpanda:v24.2.3</container.image.kafka>
<container.image.wurstmeister.kafka>wurstmeister/kafka:${version.wurstmeister.kafka}</container.image.wurstmeister.kafka>
<container.image.mongodb>library/mongo:${version.org.mongo-image}</container.image.mongodb>
<container.image.redis>redislabs/redisearch:${version.org.redis}</container.image.redis>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected void containerIsStarting(InspectContainerResponse containerInfo, boole
String command = "#!/bin/bash\n";
command += "/usr/bin/rpk redpanda start --check=false --node-id 0 --smp 1 ";
command += "--memory 1G --overprovisioned --reserve-memory 0M ";
command += "--kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092 ";
command += "--kafka-addr http://0.0.0.0:29092,http://0.0.0.0:9092 ";
command += format("--advertise-kafka-addr %s ", String.join(",", getBootstrapServers(), brokerAdvertisedListener));
command += "--set redpanda.enable_idempotence=true ";
command += "--set redpanda.enable_transactions=true ";
Expand All @@ -78,7 +78,7 @@ protected String brokerAdvertisedListener(InspectContainerResponse containerInfo
}

public String getBootstrapServers() {
return format("OUTSIDE://%s:%d", getHost(), getMappedPort(KAFKA_PORT));
return format("http://%s:%d", getHost(), getMappedPort(KAFKA_PORT));
}

@Override
Expand Down

0 comments on commit 82fc131

Please sign in to comment.