This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch 3812-go-e2e-tests-fail
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/3812-go-e2e-tests-fail by this 
push:
     new 6cc8d666ca fix: Update kafka for go e2e tests
6cc8d666ca is described below

commit 6cc8d666caae06f981f7e57fd2d3994d077309e6
Author: Philipp Zehnder <[email protected]>
AuthorDate: Thu Oct 2 14:35:15 2025 +0200

    fix: Update kafka for go e2e tests
---
 streampipes-client-e2e/docker-compose.yml | 36 +++++++++++++++----------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/streampipes-client-e2e/docker-compose.yml 
b/streampipes-client-e2e/docker-compose.yml
index 05e33861bb..ad50950653 100644
--- a/streampipes-client-e2e/docker-compose.yml
+++ b/streampipes-client-e2e/docker-compose.yml
@@ -53,32 +53,30 @@ services:
       spnet:
 
   kafka:
-    image: fogsyio/kafka:2.2.0
+    image: apache/kafka:4.1.0
     hostname: kafka
-    depends_on:
-      - zookeeper
     environment:
-      # see: https://github.com/confluentinc/schema-registry/issues/648
-      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT
-      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://:9092
-      KAFKA_LISTENERS: PLAINTEXT://:9092
-      KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
-      KAFKA_ADVERTISED_HOST_NAME: kafka
-      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+      - KAFKA_NODE_ID=0
+      - KAFKA_PROCESS_ROLES=controller,broker
+      - KAFKA_AUTO_CREATE_TOPICS_ENABLE=true
+      - KAFKA_CONTROLLER_QUORUM_VOTERS=0@kafka:9093
+      - KAFKA_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,OUTSIDE://:9094
+      - 
KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,OUTSIDE://localhost:9094
+      - 
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,OUTSIDE:PLAINTEXT
+      - KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
+      - KAFKA_CONTROLLER_LISTENER_NAMES=CONTROLLER
+      - KAFKA_MESSAGE_MAX_BYTES=5000012
+      - KAFKA_REPLICA_FETCH_MAX_BYTES=10000000
+      - KAFKA_FETCH_MESSAGE_MAX_BYTES=5000012
+      - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
+      - KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS=1
+      - KAFKA_DEFAULT_REPLICATION_FACTOR=1
     volumes:
-      - kafka:/kafka
-      - /var/run/docker.sock:/var/run/docker.sock
+      - kafka3:/var/lib/kafka/data
     logging: *default-logging
     networks:
       spnet:
 
-  zookeeper:
-    image: fogsyio/zookeeper:3.4.13
-    logging: *default-logging
-    volumes:
-      - zookeeper:/opt/zookeeper-3.4.13
-    networks:
-      spnet:
 
   influxdb:
     image: influxdb:2.6

Reply via email to