[ 
https://issues.apache.org/jira/browse/SAMZA-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635383#comment-14635383
 ] 

Yan Fang commented on SAMZA-735:
--------------------------------

This is a little tricky anyway. If the IncomingMessageEnvelope is not 
deserialized(e.g, when they are in the consumer buffer), key and msg are bytes, 
they are not readable. If the IncomingMessageEnvelope is deserialized (e.g. 
when it is in the StreamTask), key and msg are converted to their original 
objects. It totally depends on their original objects' toString methods. 
Wondering if we can have a one-fit-all method. 

> Change InconmingMessageEnvelope.toString to be more readable.
> -------------------------------------------------------------
>
>                 Key: SAMZA-735
>                 URL: https://issues.apache.org/jira/browse/SAMZA-735
>             Project: Samza
>          Issue Type: Improvement
>            Reporter: Gustavo Anatoly
>            Assignee: Gustavo Anatoly
>            Priority: Trivial
>
> toString output:
> IncomingMessageEnvelope [systemStreamPartition=SystemStreamPartition [system, 
> stream, 0], offset=null, key=[B@1880249c, message=[B@4e38a55]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to