You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Hai Lu (Jira)" <ji...@apache.org> on 2019/11/07 00:06:03 UTC

[jira] [Updated] (SAMZA-2295) records-lag based topic metrics not working for topics with periods (dot, '.') in them

     [ https://issues.apache.org/jira/browse/SAMZA-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hai Lu updated SAMZA-2295:
--------------------------
    Fix Version/s: 1.3

> records-lag based topic metrics not working for topics with periods (dot, '.') in them
> --------------------------------------------------------------------------------------
>
>                 Key: SAMZA-2295
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2295
>             Project: Samza
>          Issue Type: Bug
>          Components: kafka
>    Affects Versions: 1.2
>            Reporter: Thunder Stumpges
>            Assignee: Bharath Kumarasubramanian
>            Priority: Major
>             Fix For: 1.3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> After upgrading to Samza 1.2, the samza metrics {{high-watermark}} and {{messages-behind-high-watermark}} stopped updating. With a bit of digging, this was traced to our use of dot in our kafka topic names.
> It looks like kafka refactored their metrics names significantly, and moved the topic name out of the metric name and into tags. When doing this, they added a replacement of '.' -> '_'. When Samza refactored to match this, the same replacement was not made, so the lookup of the "records-lag" metric in KafkaConsumerProxy fails to find a match.
> The commit on kafka is here:
> [https://github.com/apache/kafka/commit/5d81639907869ce7355c40d2bac176a655e52074#diff-b45245913eaae46aa847d2615d62cde0R1331]
>  
> The related commit on Samza is here:
> [https://github.com/apache/samza/commit/01c06055057e8c260e73bf3f7db7b9eb53af3745#diff-b56db493dfdd2fd2d471f6df342fe661R400]
>  
> The fix is a simple replacement added to the line above. Pull request coming shortly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)