Code Monkey home page Code Monkey logo

Comments (8)

edenhill avatar edenhill commented on September 13, 2024

Its an assert in librdkafka, but I dont think this is a kafka rule.
I will check if Kafka supports it and then remove the librdkafka limitation for it if so.
I'll get back to you.

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

I guess 0 is ok? We should check that compression doesn't fail ;)

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

Closed #60 #60.


Reply to this email directly or view it on GitHubhttps://github.com//issues/60
.

from librdkafka.

edenhill avatar edenhill commented on September 13, 2024

payload length 0 is now okay, and yes, compression works for these empty messages :)

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

I was surprised to get this in my callback. I'd zero is ok, it shoukdnt complain or at least should just be shown with debugging on.
16-Jan-2014 09:57:33:214 [T03][13156] kafka/kafka.cc:49 [TEST] fac:'GZIP' name:'LARA_replicator#producer-0' log:'emsdc136235-001.masked.com:9092/0: Failed to gzip-compress0 bytes for topic danP3R3 [2]: buffer error (1): sending uncompressed'

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

Note I don't get this callback with snappy

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

Looks like the rdkafka_example cannot handle an empty message. I tried a java consumer and it's fine.

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

Never mind, mistake at my end

from librdkafka.

edenhill avatar edenhill commented on September 13, 2024

The gzip warning is now gone.
Thanks!

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.