Giter VIP home page Giter VIP logo

Comments (12)

winbatch avatar winbatch commented on May 8, 2024

Us there a minimum size required for compression to work?

from librdkafka.

edenhill avatar edenhill commented on May 8, 2024

Do you know what produced this message? Scala Kafka producer? rdkafka producer?

I dont think gzip has any limits on the size of the uncompressed data.

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

My app using rdkafka. When I do no compression it works fine, when I do gzip it doesnot complain on the publisher side (but does in the consumer), and when I do snappy I get a message timed out error.

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

Reproduced this using rdkafka example on both sides

from librdkafka.

edenhill avatar edenhill commented on May 8, 2024

Perfect! Can you provide the exact command lines for both producer and consumer as well as your sample message(s)?

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

Note I have not updated from master since Dec 28 in case it matters.

My message was on stdin and was simple like 'hi'.

./rdkafka_example -C -b kafkadevcluster1-1.masked.com:5757,
kafkadevcluster1-2.masked.com:5757,kafkadevcluster1-3.masked.com:5757 -p 8
-t LaraReplicator_kafkacluster4 -o -1

./rdkafka_example -P -b kafkadevcluster1-1.masked.com:5757,
kafkadevcluster1-2.masked.com:5757,kafkadevcluster1-3.masked.com:5757 -p 8
-t LaraReplicator_kafkacluster4

With either –z gzip, -z snappy or (nothing)

On Tuesday, January 7, 2014, Magnus Edenhill wrote:

Perfect! Can you provide the exact command lines for both producer and
consumer as well as your sample message(s)?


Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31787010
.

from librdkafka.

edenhill avatar edenhill commented on May 8, 2024

Gzip decompression should now be working.
I will look more into Snappy tomorrow.

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

Ok cool. The snappy seemed to be a publisher side problem since it
received a local message timeout

On Tuesday, January 7, 2014, Magnus Edenhill wrote:

Gzip decompression should now be working.
I will look more into Snappy tomorrow.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31792333
.

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

Magnus- let me know if you think the snappy fix will be a straightforward one or will require some time- so that I can decide whether to update the code base now to get the gzip fix or to wait to get both. Thanks in advance.

from librdkafka.

edenhill avatar edenhill commented on May 8, 2024

I will hopefully have time to look at the snappy issue tonight (utc)
Den 8 jan 2014 13:09 skrev "winbatch" [email protected]:

Magnus- let me know if you think the snappy fix will be a straightforward
one or will require some time- so that I can decide whether to update the
code base now to get the gzip fix or to wait to get both. Thanks in advance.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31826103
.

from librdkafka.

winbatch avatar winbatch commented on May 8, 2024

Updated, gzip now works.

On Wednesday, January 8, 2014, Magnus Edenhill wrote:

I will hopefully have time to look at the snappy issue tonight (utc)
Den 8 jan 2014 13:09 skrev "winbatch" <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>:

Magnus- let me know if you think the snappy fix will be a
straightforward
one or will require some time- so that I can decide whether to update
the
code base now to get the gzip fix or to wait to get both. Thanks in
advance.


Reply to this email directly or view it on GitHub<
https://github.com/edenhill/librdkafka/issues/54#issuecomment-31826103>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31831197
.

from librdkafka.

edenhill avatar edenhill commented on May 8, 2024

Creating a separate issue for snappy.

from librdkafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.