codelipenghui commented on issue #6331: [Issue 2912][pulsar-admin] add get-message-by-id cmd into pulsar-admin URL: https://github.com/apache/pulsar/pull/6331#issuecomment-586546934 @nlu90 I noticed that to get the message content by ID needs to specify a subscription name. Sorry I didn't clarify this matter in the issue. Is it better to not require the user to specify the message ID? No matter which subscription name is specified, the returned message content is the same. It's different with peek messages, users can peek one or more messages by peeking messages. So we don’t need to consider whether the message is acknowledged or not. Future more, the entry may represent a batch message. If I understand correctly, if it is a batch message, the format of the information received by the user may not be easy to read. And the message can encoded by different schema, we need to leverage by pulsar schema. This part can also be solved by a separate PR. At present, the peek message is not handled.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
