[ 
https://issues.apache.org/jira/browse/KAFKA-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948285#comment-13948285
 ] 

Jay Kreps commented on KAFKA-1251:
----------------------------------

Yes, I hadn't really considered this a bug. Those are per-connections metrics 
and we assign the bootstrap connection node ids -1, -2, etc. I agree it is 
pretty odd though. Not sure if/how we should fix it.

One thing we could do would be to report connection metrics as 
kafka.producer.host:port.metric instead of using node id.

> Add metrics to the producer
> ---------------------------
>
>                 Key: KAFKA-1251
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1251
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: producer 
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>         Attachments: KAFKA-1251.patch, KAFKA-1251_2014-03-19_10:19:27.patch, 
> KAFKA-1251_2014-03-19_10:29:05.patch, KAFKA-1251_2014-03-19_17:30:32.patch, 
> KAFKA-1251_2014-03-25_17:07:39.patch, metrics.png
>
>
> Currently there are no metrics.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to