Skip to content

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

Open
@K-Diger

Description

@K-Diger

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 master-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)

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

  • v0.7.2 (by DockerHub)

  • with docker compose

name: kafka-ui
services:
  kakfa-ui:
    image: provectuslabs/kafka-ui:v0.7.2
    container_name: kakfa-ui
    ports:
      - '80:8080'
    environment:
      - KAFKA_CLUSTERS_0_NAME=kafka_cluster
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=localhost:29092,localhost:29092,localhost:29092
      - DYNAMIC_CONFIG_ENABLED=true
      - KAFKA_CLUSTERS_0_AUDIT_TOPICAUDITENABLED=true
      - KAFKA_CLUSTERS_0_AUDIT_CONSOLEAUDITENABLED=true

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/triageIssues pending maintainers triagetype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions