Skip to content

Incomplete metadata in MessageImpl return by admin.topics().examineMessage() #11440

Closed

Description

@Jason918

Is your enhancement request related to a problem? Please describe.
We can get MessageImpl object using org.apache.pulsar.client.admin.Topics#examineMessage,
but it has Incomplete metadata , e.g. keys.
Same things happens to getMessageByID and peekNthMessage, since they use the same generateResponseWithEntry to serialize the message, And only a few metadata entries are added to the response headers.

Describe the solution you'd like
Add all the metadata to the response headers.

Describe alternatives you've considered

Additional context

Activity

  1. added
    type/enhancement
    on Jul 23, 2021
  2. Jason918 commented on Jul 23, 2021

    @Jason918
    ContributorAuthor

    I would like to submit PR to fix this soon.

  3. added a commit that references this issue on Jul 29, 2021
    afe4792
  4. added a commit that references this issue on Jul 30, 2021
    b6b512b
  5. added a commit that references this issue on Mar 18, 2022
    b8173dc
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/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions