Skip to content

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

Description

@sandeep-mst

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions