Skip to content

Commit

Permalink
Subscription with kafka. Additional configuration for transactions in…
Browse files Browse the repository at this point in the history
… single-node setup
  • Loading branch information
ryukzak committed Sep 10, 2024
1 parent 320d863 commit e905363
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aidbox-subscriptions-to-kafka/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ services:
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_INSIDE
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
KAFKA_CONTROLLER_QUORUM_VOTERS: 1@localhost:29093

# Additional configuration for transactions in single-node setup
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
KAFKA_MIN_INSYNC_REPLICAS: 1
healthcheck:
test: /opt/kafka/bin/kafka-cluster.sh cluster-id --bootstrap-server kafka:9092 || exit 1
interval: 1s
Expand Down

0 comments on commit e905363

Please sign in to comment.