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

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new a9b73aa9f FINERACT-1724  - Fixing broken kafka config  - kafka image 
is pinned to 3.3.2
a9b73aa9f is described below

commit a9b73aa9f69a94eb271a0bc2a22553b05c84d8bf
Author: Peter Bagrij <[email protected]>
AuthorDate: Tue Aug 1 09:33:05 2023 +0200

    FINERACT-1724
     - Fixing broken kafka config
     - kafka image is pinned to 3.3.2
---
 docker-compose-postgresql-kafka.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/docker-compose-postgresql-kafka.yml 
b/docker-compose-postgresql-kafka.yml
index bffa10e26..8591ef9d2 100644
--- a/docker-compose-postgresql-kafka.yml
+++ b/docker-compose-postgresql-kafka.yml
@@ -20,10 +20,16 @@
 version: '3.7'
 services:
   kafka:
-    image: 'bitnami/kafka:latest'
+    image: 'bitnami/kafka:3.5.1'
     ports:
       - '9092:9092'
     environment:
+      - KAFKA_CFG_NODE_ID=0
+      - KAFKA_CFG_PROCESS_ROLES=controller,broker
+      - KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
+      - 
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
+      - KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@kafka:9093
+      - KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
       - ALLOW_PLAINTEXT_LISTENER=yes
       - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
   # Backend service

Reply via email to