Version of the splitter service, that is implemented with Kafka-Client-API vanilla-kafka
authorKai Moritz <kai@juplo.de>
Sat, 23 Oct 2021 10:57:06 +0000 (12:57 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 30 Jun 2022 18:47:48 +0000 (20:47 +0200)
README.sh
docker-compose.yml
splitter

index db1dde9..56b7469 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -3,7 +3,7 @@
 FORTUNE=juplo/wordcount--fortune:1.0.0
 RECORDER=juplo/wordcount--recorder:1.0.1
 USERS=juplo/wordcount--users:1.0.4
-SPLITTER=juplo/wordcount--splitter:1.0.0
+SPLITTER=juplo/wordcount--splitter:1.0.0-vanilla-kafka
 COUNTER=juplo/wordcount--counter:1.1.0
 TOP10=juplo/wordcount--top10:1.0.1
 QUERY=juplo/wordcount--query:1.0.4
index a0a05c7..f5a1256 100644 (file)
@@ -17,6 +17,8 @@ services:
       KAFKA_INTER_BROKER_LISTENER_NAME: DOCKER
       KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: DOCKER:PLAINTEXT, LOCALHOST:PLAINTEXT
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
+      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
+      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
     ports:
       - 9092:9082
@@ -62,7 +64,7 @@ services:
       - kafka
 
   splitter:
-    image: juplo/wordcount--splitter:1.0.0
+    image: juplo/wordcount--splitter:1.0.0-vanilla-kafka
     labels:
       - "traefik.enable=true"
       - "traefik.http.routers.splitter.rule=Host(`splitter.localhost`)"
index 3bc3ef7..0e63376 160000 (submodule)
--- a/splitter
+++ b/splitter
@@ -1 +1 @@
-Subproject commit 3bc3ef7ceb76e7643e1e373293cfdc78f870838a
+Subproject commit 0e63376a3cfc8ecabdc4699e9307f6a51415cb09