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 2019/04/16 02:30:42 UTC

[GitHub] [pulsar] foreversunyao commented on issue #4051: server checksum error when using pulsar-log4j2-appender

foreversunyao commented on issue #4051: server checksum error when using pulsar-log4j2-appender
URL: https://github.com/apache/pulsar/issues/4051#issuecomment-483487425
 
 
   @nyluke , can you try to add below code to https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Producer.java#L178
   
   ```
      for(int i=0;i< headersAndPayload.readableBytes();i++) {
                           System.out.print(String.format("%02X ", headersAndPayload.getByte(i)));
                       }
   ```
   
   or try to tcpdump the package you sent ?
   it seems some buffer package is incomplete .

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services