You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/06 20:03:52 UTC

[GitHub] [pulsar] lin-zhao commented on issue #17947: [PIP] Admin API should be able to return messages in human-readable formats in peek-messages.

lin-zhao commented on issue #17947:
URL: https://github.com/apache/pulsar/issues/17947#issuecomment-1270616600

   > When we speak about "string" format, we are being too general. You can have a many different string formats after all: Base64, Yaml, JSON, etc. So I think it is a mistake to refer to this as string. Instead I'd recommend explicitly naming the format, and also including an extensible option mechanism like:
   > 
   > ```
   > --format=binary     # default for backwards compatibility
   > ```
   > 
   > ```
   > --format=json
   > ```
   
   The actual string format is determined by the schema. Some json, some plain text. Perhaps `--format=binary/string`
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org