Comments (12)
Us there a minimum size required for compression to work?
from librdkafka.
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.
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.
Reproduced this using rdkafka example on both sides
from librdkafka.
Perfect! Can you provide the exact command lines for both producer and consumer as well as your sample message(s)?
from librdkafka.
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.
Gzip decompression should now be working.
I will look more into Snappy tomorrow.
from librdkafka.
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.
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.
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.
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.
Creating a separate issue for snappy.
from librdkafka.
Related Issues (20)
- rd_kafka_produceva: double free headers on message sending error HOT 2
- coop sticky algo on large partition number HOT 1
- Duplicate messages could be received when resuming partitions that weren't paused
- Some components use `strcmp` which is vulnerable to timing attacks
- Timeout overflows when over 2047.48
- Crash in rd_kafka_broker_add_logical HOT 1
- Reading committed offsets where metadata contains null byte leads to reading random data after null byte.
- zlib library security vulnerability through to version 1.3
- when using librdkafka, create a thread will fail.
- Unable to connect C++ consumer client with OAUTHBEARER mechanism to server HOT 1
- query_watermark_offsets() Doesn't Return Authentication Failure Errors.
- Critical Vulnerabilities identified in librdkafka HOT 3
- Pr 1
- Sporadic crash in rd_kafka_buf_callback()
- Starting with 8e20e1ee, after broker goes down and back up, `rd_kafka_destroy` of groupconsumer hangs HOT 3
- Increased CPU usage caused by a loop lasting 1ms max HOT 1
- Metadata cache cleared by a full metadata refresh HOT 1
- Resuming partitions not paused, manually or through incremental subscribe, can cause to restart consuming from a previous offset HOT 1
- Undesired partition migration happening because of stale metadata
- I am facing issue i try to build librdkafka and using CMake and it give me error for some library like unistd.h in transaction.h file
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.