Skip to content

Commit

Permalink
change health check for kafka service (#2371)
Browse files Browse the repository at this point in the history
Co-authored-by: Hubert Deng <[email protected]>
  • Loading branch information
johnatannvmd and hubertdeng123 committed Aug 31, 2023
1 parent cad1deb commit 69f973a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ services:
- "sentry-secrets:/etc/kafka/secrets"
healthcheck:
<<: *healthcheck_defaults
test: ["CMD-SHELL", "nc -z localhost 9092"]
test: ["CMD-SHELL", "/usr/bin/kafka-topics --bootstrap-server kafka:9092 --list"]
interval: 10s
timeout: 10s
retries: 30
Expand Down

0 comments on commit 69f973a

Please sign in to comment.