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

József Márton Jung commented on SAMZA-735:
------------------------------------------

In {{IncomingMessageEnvelope}} the key and message are objects 
({{java.lang.Object}}). Therefore they can vary from simple byte arrays to 
complex data structures.
Maybe we can use [Apache Commons 
Lang|https://commons.apache.org/proper/commons-lang/]'s 
{{ToStringBuilder.reflectionToString}} to convert the key and message to a more 
readable form. What do you guys think?

> 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