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

Eslam commented on KAFKA-14166:
-------------------------------

[~hachikuji] in which component actually we need that fix ?

> Consistent toString implementations for byte arrays in generated messages
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-14166
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14166
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jason Gustafson
>            Priority: Major
>
> In the generated `toString()` implementations for message objects (such as 
> protocol RPCs), we are a little inconsistent in how we display types with raw 
> bytes. If the type is `Array[Byte]`, then we use Arrays.toString. If the type 
> is `ByteBuffer` (i.e. when `zeroCopy` is set), then we use the corresponding 
> `ByteBuffer.toString`, which is not often useful. We should try to be 
> consistent. By default, it is probably not useful to print the full array 
> contents, but we might print summary information (e.g. size, checksum).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to