merlimat opened a new pull request #2854: Fixed ZLib decompression in C++ client
URL: https://github.com/apache/pulsar/pull/2854
 
 
   ### Motivation
   
   The ZLib method `uncompress()` is not able to process data that was 
compressed from Pulsar Java producer with ZLib. 
   
   This is due to the the initialization settings that are used inside the 
`uncompress()` functions and that are different from how ZLib is used within 
the JDK. 
   
   This causes C++ (and derivatives) consumers to drop messages that were 
compressed by Java producer. A Java consumer is able to correctly decompress 
both.
   
   ### Modifications
   
    * Fixed decompression in C++ to be able to inflate both zstream terminations
    * Added option in C++ perf producer to compress messages
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to