# Discrepancies in the data for Apache Kafka

**URL:** <https://community.dynatrace.com/t/discrepancies-in-the-data-for-apache-kafka/50061>\
**Category:** Extensions\
**Tags:** kafka, extensions, hub\
**Created:** [February 3, 2025, 4:13pm UTC](https://community.dynatrace.com/t/discrepancies-in-the-data-for-apache-kafka/50061 "2025-02-03T16:13:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas\_g1997](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Vikas\_g1997](https://community.dynatrace.com/u/Vikas_g1997)\
**Post date:** [February 3, 2025, 4:13pm UTC](https://community.dynatrace.com/t/discrepancies-in-the-data-for-apache-kafka/50061/1 "2025-02-03T16:13:57Z")

</div>

Hi Team,

We are using the Apache Kafka extension to retrieve the consumer lag metric. However, we are observing discrepancies in the data.

For example, when checking certain topics like **OUTBOUND\_PROCESSING\_TOPIC** in the Dynatrace Explorer page, we see a high count of **431K** , whereas the customer-reported count is **66,574**.

Could someone help us understand why there is such a discrepancy in the data? We are using the following metric:  
**kafka.consumer.consumer-metrics.records-lag-avg**

 ![Vikas_g1997_0-1738599176146.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/3/83338c4fece717d3f79aaeda4bbb2e5152879cf8.png)

 ![Vikas_g1997_1-1738599193710.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/f/0f7307a796b251beb78a273b319381128e756452.png)
