[kafka_consumer] Integration not respecting documentation
See original GitHub issueThe documentation for the Kafka consumer connection string seems to be wrong. I use the following config:
- kafka_connect_str:
- localhost:9092
- another_kafka_broker:9092
The following error is logged in the /var/log/datadog/collector.log
2017-11-23 08:44:34 UTC | ERROR | dd.collector | checks.kafka_consumer(__init__.py:812) | Check 'kafka_consumer' instance #0 failed
Traceback (most recent call last):
File "/opt/datadog-agent/agent/checks/__init__.py", line 795, in run
self.check(copy.deepcopy(instance))
File "/opt/datadog-agent/agent/checks.d/kafka_consumer.py", line 99, in check
cli = self._get_kafka_client(instance)
File "/opt/datadog-agent/agent/checks.d/kafka_consumer.py", line 166, in _get_kafka_client
if kafka_conn_str not in self.kafka_clients:
If I understand correctly, this line expects kafka_connect_str
to be a string, not a list:
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
spring-kafka (not integration) consumer not consuming message
The referenced above documentation says: Although Serializer/Deserializer API is pretty simple and flexible from the low-level Kafka ...
Read more >Kafka Consumer | Confluent Documentation
The main reason is that the consumer does not retry the request if the commit fails. This is something that committing synchronously gives...
Read more >Structured Streaming + Kafka Integration Guide (Kafka broker ...
If a topic column exists then its value is used as the topic when writing the given row to Kafka, unless the “topic”...
Read more >Apache Kafka Reference Guide - Quarkus
This is a good example of how to integrate a Kafka consumer with another downstream, in this example exposing it as a Server-Sent...
Read more >KafkaConsumer node - IBM
The KafkaConsumer node handles messages in the following message domains ... If this option is not selected, the KafkaConsumer node does not ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR #904 should address the issue and will be released with an agent bugfix release soon.
5.20.1
was released - the issue should be addressed there.