Skip to content

Commit 6597bfd

Browse files
[kafka_consumer] Add bootstrap_servers to heartbeat payload (DataDog#23475)
* [kafka_consumer] Add bootstrap_servers to heartbeat payload Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Rename changelog fragment to PR number Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1b8d109 commit 6597bfd

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Include `bootstrap_servers` in the Kafka consumer cluster monitoring heartbeat payload.

kafka_consumer/datadog_checks/kafka_consumer/kafka_consumer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def _send_cluster_monitoring_heartbeat(self, total_contexts: int, cluster_id: st
149149
'config_type': 'heartbeat',
150150
'contexts': total_contexts,
151151
'contexts_limit': self._context_limit,
152+
'bootstrap_servers': self.config._kafka_connect_str,
152153
}
153154
if self.config._kafka_cluster_id_override:
154155
payload['original_kafka_cluster_id'] = self.config._auto_detected_cluster_id

0 commit comments

Comments
 (0)