Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Filter with timestamp using start and end timestamp reveals no results if sorted by NEWEST #2047

Open
mauho opened this issue Jan 23, 2025 · 0 comments

Comments

@mauho
Copy link

mauho commented Jan 23, 2025

We are using AKHQ 0.25.1 with user settings / Topic Data / Sort = NEWEST

The behavior depends on the size of the topic. Working on a topic containing 40GB of data the following applies:
Setting a start AND end timestamp on a topic won't reveal any data. If however start and end timestamp are set, then sorting is switched to OLDEST, the data is fetched as expected.

If only a start timestamp is used results are fetched even on sorting = NEWEST

only start TS   NEWEST   OK  https://address.to/kafka-ui/api/broker-cluster/topic/my-sample-topic/data?sort=NEWEST&partition=All&timestamp=2025-01-06T10%3A25%3A03.000%2B01%3A00
start + end TS  NEWEST   NOK https://address.to/kafka-ui/api/broker-cluster/topic/my-sample-topic/data?sort=NEWEST&partition=All&timestamp=2025-01-06T10%3A25%3A03.000%2B01%3A00&endTimestamp=2025-01-14T10%3A25%3A03.000%2B01%3A00
start + end TS  oldest   OK  https://address.to/kafka-ui/api/broker-cluster/topic/my-sample-topic/data?sort=Oldest&partition=All&timestamp=2025-01-06T10%3A25%3A03.000%2B01%3A00&endTimestamp=2025-01-14T10%3A25%3A03.000%2B01%3A00

The behavior is different on smaller topics. Working on a topic containing 1GB of data, the issue is not present -> start+end time filter works regardless of sorting direction.

Can someone try this on a different system before digging into it any deeper?

Thank you and best Regards
Maurizio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant