Skip to content
代码片段 群组 项目
未验证 提交 9317be02 编辑于 作者: Vikas Singh's avatar Vikas Singh 提交者: GitHub
浏览文件

KAFKALESS-830: Set replication bytes in/out for topics (#7023)

* KAFKALESS-830: Set replication bytes in/out for topics

This change updates the replication bytes in/out at the topic level. For
the replication bytes out, it makes it same as the bytes-in for the
topic. For the replication bytes in, it goes over leader of all
followers of a topic on a broker and sets it as sum of all leader
bytes-in.

A follow up PR will do similar change at broker level.

Couple of name refactoring was made in the Cluster class that made this
PR bigger than the small change it contains. I have also added new tests
to make sure that replication bytes in/out calculation is done correctly
both for cases where all metrics are present as well as when metrics are
missing.
上级 a50fbcbc
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册