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 2018/10/26 20:22:48 UTC

[GitHub] merlimat opened a new pull request #2854: Fixed ZLib decompression in C++ client

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


With regards,
Apache Git Services