From bc593740807bc0b5241bf018d842992fb0c6c78e Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 23 Oct 2021 12:57:06 +0200 Subject: [PATCH] Version of the splitter service, that is implemented with Kafka-Client-API --- README.sh | 2 +- docker-compose.yml | 4 +++- splitter | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.sh b/README.sh index db1dde9..56b7469 100755 --- 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 diff --git a/docker-compose.yml b/docker-compose.yml index a0a05c7..f5a1256 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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`)" diff --git a/splitter b/splitter index 3bc3ef7..0e63376 160000 --- a/splitter +++ b/splitter @@ -1 +1 @@ -Subproject commit 3bc3ef7ceb76e7643e1e373293cfdc78f870838a +Subproject commit 0e63376a3cfc8ecabdc4699e9307f6a51415cb09 -- 2.20.1