kafbat / kafka-ui

Open-Source Web UI for managing Apache Kafka clusters
http://ui.docs.kafbat.io
Apache License 2.0
490 stars 49 forks source link

Online partition count per brokers is inaccurate #526

Open abhirathod95 opened 3 weeks ago

abhirathod95 commented 3 weeks ago

Issue submitter TODO list

Describe the bug (actual behavior)

Kafka UI used to show the actual partition count per broker in the "Online Partitions" column under "Brokers" tab. After upgrading to v1.0.0, each broker row shows the total number of online partitions instead. Weirdly, the "partition skew" calculations are still accurate.

For example take a balanced cluster with 178 partitions, rep factor of 3, and 4 brokers. There are a total of 534 replicas in the cluster and each broker row in the table should show 133 or 134 online partitions. However, all of the rows are showing 178.

Expected behavior

Each broker should show the correct number of online partition replicas it holds. Given the example above, it should be 133 or 134 per broker.

Your installation details

I'm using v1.0.0 with a generic config file, nothing unique.

Steps to reproduce

Deploy kafka ui and link it to any cluster. I've tried it with 4 different clusters and they all show the same thing.

Screenshots

No response

Logs

No response

Additional context

No response

github-actions[bot] commented 3 weeks ago

Hi abhirathod95! 👋

Welcome, and thank you for opening your first issue in the repo!

Please wait for triaging by our maintainers.

As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues. Sponsorship link

If you plan to raise a PR for this issue, please take a look at our contributing guide.