massakam commented on issue #129:
URL: 
https://github.com/apache/pulsar-client-node/issues/129#issuecomment-705958062


   @dionjansen @sijie 
   Apparently, no matter what language the producer is written in, 
pulsar-dotpulsar doesn't seem to be able to get the properties of the received 
message when batching is enabled.
   
   When I sent a message using the Node.js producer with batching disabled, the 
pulsar-dotpulsar consumer was able to handle it successfully.
   
   To disable batching:
   ```js
   const producer = await client.createProducer({
     topic: 'persistent://public/default/test',
     batchingEnabled: false, // Disable batching
   });
   ```
   
   I suspect that pulsar-dotpulsar may not be able to properly deserialize 
batched messages.


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


Reply via email to