Skip to content

Commit

Permalink
Add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadingole committed Nov 26, 2023
1 parent 43ae002 commit 76eab53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kafka/kraft/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ services:
- KAFKA_AUTO_CREATE_TOPICS_ENABLE=true
- BITNAMI_DEBUG=yes
- KAFKA_CFG_NUM_PARTITIONS=2
healthcheck:
test: ["CMD-SHELL", "kafka-topics.sh --bootstrap-server localhost:9092 --list"]
interval: 10s
timeout: 5s
retries: 3
start_period: 5s


0 comments on commit 76eab53

Please sign in to comment.