provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management
Apache License 2.0
9.57k stars 1.17k forks source link

Reset types are not applied and reset instead like LATEST would #4453

Open ges1227 opened 4 months ago

ges1227 commented 4 months ago

Issue submitter TODO list

Describe the bug (actual behavior)

When resetting offsets of a consumer group by reset type "EARLIEST" the consumer group is reset to latest.

The same happens with the reset type "TIMESTAMP" and "OFFSET".

Expected behavior

The topic offsets of the consumer group are set with the respective method chosen.

Your installation details

App version: 83b5a60 v0.7.2

Running inside a container as described here

Steps to reproduce

  1. Go to the consumer groups and select a consumer group whose state is empty and has topics assigned to it.
  2. Hit the three dots at the top right corner of the bar where the consumer group is shown and select 'Reset offset'.
  3. Topic and Reset Type are preselected, so just go to the partitions drop down and check "Select All".
  4. Press purple "Reset Offset" button.
  5. Check again the consumer group and their topic. Recognise that the Consumer Lag displays a lag of 0.

Screenshots

No response

Logs

No response

Additional context

A green pop up, indicating that the reset has been successful, is shown after pressing the "Reset Offset" button.

github-actions[bot] commented 4 months ago

Hello there ges1227! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

Haarolean commented 4 months ago

This repo is not maintained (#4255). Happy to see your bug reports here: https://github.com/kafbat/kafka-ui