Comments (8)
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.
I guess 0 is ok? We should check that compression doesn't fail ;)
On Wednesday, January 15, 2014, Magnus Edenhill wrote:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/60
.
from librdkafka.
payload length 0 is now okay, and yes, compression works for these empty messages :)
from librdkafka.
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.
Note I don't get this callback with snappy
from librdkafka.
Looks like the rdkafka_example cannot handle an empty message. I tried a java consumer and it's fine.
from librdkafka.
Never mind, mistake at my end
from librdkafka.
The gzip warning is now gone.
Thanks!
from librdkafka.
Related Issues (20)
- Issue whie getting librdkafka from Nuget.org via V3 API HOT 1
- Build Failure: unknown type name 'rd_kafka_broker_t' in rdkafka_op.h HOT 2
- Fail to recover a partition which was temporarily delegated to the internal broker HOT 1
- ThreadSanitizer: data race + hang in rd_kafka_destroy (or rd_kafka_destroy_flags) HOT 1
- How to create a librdkafka.so file?
- Incorrect version of zlib packaged with windows version
- X
- can not be used when making a shared object; recompile with -fPIC
- When I was to send the message to kafka's service, the message content was lost when I have found it by kafkatool
- compile issue with "Use STATIC_LIB_libzstd=/path/to/libzstd.a "
- After the connection with the broker times out, there is no reconnection HOT 2
- Topic {X} partition count changed from {Y} to {Z} - for already deleted topic
- Some partitions occasionally fail to be consumed when a single client consumes multiple partitions. HOT 1
- timeout issue with async commit , we want to commit every message after consuming HOT 3
- librdkafka 2.2.0 uses system to run kinit and hence can receive SIGCHLD
- Error "Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration..." connecting to kafka broker 3.8.0 HOT 4
- Assert failing when none of KIP 714 requested metrics are implemented by librdkafka HOT 1
- warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0
- Why consumers do not report errors if the topic is deleted
- Unable to use sasl_ssl with Python client HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librdkafka.