forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kafka_consumer] add timeout for zk/kafka connections
Because the default timeouts are pretty high in the kafka-python and kazoo library (resp. 120s and 10s), we put them at a much lower threshold (5s) for the default cases and offer a way to override in the YAML init_config section. Fixes DataDog#1589.
- Loading branch information
1 parent
4c58b50
commit ce85591
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters