Skip to content

Brokers: Wrong 'Online partition count' value #526

@abhirathod95

Description

@abhirathod95

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

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

Metadata

Metadata

Assignees

Labels

area/brokersBroker / broker configs related issuesscope/frontendRelated to frontend changesstatus/triage/completedAutomatic triage completedtype/bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions