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

[Enhancement] Make Peek Messages API available for non-admin clients #24051

Open
2 tasks done
sandeep-mst opened this issue Mar 4, 2025 · 0 comments
Open
2 tasks done
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Comments

@sandeep-mst
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

The current Peek Messages API is under the Admin API with consume permissions. We needed the ability for non-admin applications to peek the topic partitions.

Solution

We propose adding a new endpoint to the Lookup API that leverages the internal implementation of the existing Peek Messages API. This enhancement will expose the Peek Messages functionality via the Lookup API, providing clients with an alternative access method. The internal logic of the Peek Messages API remains unchanged having minimal impact on existing functionalities.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@sandeep-mst sandeep-mst added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Mar 4, 2025
@sandeep-mst sandeep-mst changed the title [Enhancement] Add Peek Messages Endpoint to Lookup API [Enhancement] Make Peek Messages API available for non-admin clients Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

No branches or pull requests

1 participant