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 2020/10/21 05:19:57 UTC

[GitHub] [pulsar] turtleDeng opened a new issue #8323: Client development issues

turtleDeng opened a new issue #8323:
URL: https://github.com/apache/pulsar/issues/8323


   I am trying to use Erlang to develop the pulsar client library, and after reading the official documentation, Use Protocol Buffer for protocol interaction. 
   When I was developing the consumer, I found that the format of the received packet was different from that of the document
   ```
   http://pulsar.apache.org/docs/en/develop-binary-protocol/#payload-commands
   ```
   The magicNumber and checksum in the document do not match the package I received
   
   The following is a complete package
   ```
   [0,0,0,64,0,0,0,15,8,9,74,11,8,1,18,7,8,226,77,16,1,24,0,0,0,0,36,10,18,115,116,97,110,100,97,108,111,110,101,45,49,48,45,55,56,50,48,16,1,24,155,170,151,204,212,46,50,3,107,101,121,64,0,104,101,108,108,111]
   ```
   
   ```
   totalSize: 0,0,0,64,
   commandSize: 0,0,0,15,
   message: 8,9,74,11,8,1,18,7,8,226,77,16,1,24,0,
   metadataSize: 0,0,0,36,
   metadata: 10,18,115,116,97,110,100,97,108,111,110,101,45,49,48,45,55,56,50,48,16, 1,24,155,170,151,204,212,46,50,3,107,101,121,64,0,
   payload 104,101,108,108,111
   ```


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



[GitHub] [pulsar] turtleDeng closed issue #8323: Client development issues

Posted by GitBox <gi...@apache.org>.
turtleDeng closed issue #8323:
URL: https://github.com/apache/pulsar/issues/8323


   


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