Chia-Ping Tsai created KAFKA-21375:
--------------------------------------

             Summary: Add per-topic metrics for bytes sent to brokers outside 
client.rack
                 Key: KAFKA-21375
                 URL: https://issues.apache.org/jira/browse/KAFKA-21375
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


`partitioner.rack.aware` allows user to adjust the route to try the rack as 
much as possible. However, it is hard to observe the "miss" from client side 
since we didn't add any metrics for that.

Since the rack is used to save money, the unit of metrics should be bytes. It 
should record the size of produce requests sent to brokers whose rack differs 
from `client.rack`. 

This is useful even without `partitioner.rack.aware`, as users can see the 
cross-rack traffic before and after enabling it.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to