[Enhancement] Make Peek Messages API available for non-admin clients #24051
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
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?
The text was updated successfully, but these errors were encountered: