[Q&A] Not able to send messages from fluentd to kafka with zstd compression codec #5109
Unanswered
RamHaridas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is a problem?
I am trying send messages from fluentd to kafka with compression codec zstd.
But the message passing fails with an error saying that libzstd not available at build time. The error is thrown by rdkafka plugin.
I have installed the gem from fluent-package-v5.0.7 package.
Describe the configuration of Fluentd
I am using below config with compression codec set to zstd with @type rdkafk2
Describe the logs of Fluentd
Fluentd throws below error logs
Now I understand that the error outcome is a result of the fact that the rdkafka 0.12.0 (coming from fluent-package-v5.0.7) has not been built with zstd support.
Because when I switch to explicit installation of the rdkafka gem with libzstd-devel package, it works and does not throw the above mentioned error.
I wanted to confirm if that is the case and the rdkafka gem present in fluent-package-v5.0.7 does not support zstd by default?
Environment
Update: I have tested the same scenario with fluent package v6.0.0 as well. The rdkafka gem failed with same error in that version as well.
Beta Was this translation helpful? Give feedback.
All reactions