kafbat / kafka-ui

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

I propose to modify the notation method when the LAG of Consumer Group is 0. #675

Open K-Diger opened 4 days ago

K-Diger commented 4 days ago

Issue submitter TODO list

Describe the bug (actual behavior)

In the "Consumers" tab, there were cases where the LAG value for consumers was N/A.

However, when queried using the describe CLI command, LAG was displayed as 0.

I believe that N/A can also be accepted as "Not Available", so I would like to modify it to display 0.

Expected behavior

In the "Consumers" tab, if the consumer's LAG is 0, it is displayed as 0 instead of N/A.

Your installation details

name: kafka-ui services: kakfa-ui: image: provectuslabs/kafka-ui:v0.7.2 container_name: kakfa-ui ports:

Steps to reproduce

You can just consume a message to the topic without anything special or start the consumer without any message.

Screenshots

No response

Logs

No response

Additional context

No response

github-actions[bot] commented 4 days ago

Hi K-Diger! 👋

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.