-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is compression in fact supported? #47
Comments
Those comments are indeed outdated, compression is supported. Thanks |
Cool. Can you confirm that when a consumer receives a message, he has no way of knowing whether it is compressed and by what algorithm, correct? (So a mutual understanding is required between producer and consumer?) |
The compression codec used is set in the message header and the consumer will decompress the message accordingly. This also allows for some producers to employ compression and some dont, while producing to the same topic and partition. So there is no need for any producer <-> consumer correlation. |
Excellent. Will give it a shot. Thanks again. |
The introduction seems to indicate yes, but the rdkafka_int.h indicates no/not supported in the enum definition of rd_kafka_compression_t. Hoping that it's simply outdated?
The text was updated successfully, but these errors were encountered: