-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
[QUESTION] Getting "Unsupported value "snappy" for configuration property "compression.codec" while creating a consumer #113
Comments
Hey @grunk please check this confluentinc/librdkafka#2496 issue and let me know if it helps |
Don't know why but I'm not able to reproduce this nor #105 |
Thanks for your answer. To be honest, i'm in a kind of special dev environment. For now i'm using php-rdkafka directly so you can close this issue if you think it's something too specific. |
As soon as I have time I'll try to setup a environment as close to what you mentioned here and then I can get back to you. |
In the function below is hard-coded"snappy" instead of reading it from the config KAFKA_COMPRESSION_TYPE. This affects Windows environment as there is no snappy installed.
|
Can you tell me file and path where i must insert this code? |
The path is vendor/mateusjunges/laravel-kafka/src/Config/Config.php. But you dont need to insert this code, what I meant is that this code is wrong because of the line |
Hey folks, I've just merged a PR to fix this. Now, instead of the hardcoded |
Hi @mateusjunges , i have the same error as #105 but when creating a consumer :
I'm using the following versions (on windows 11) :
laravel-kafka : 1.8.1
rdKafka : 6.0.1
librdkafka version (runtime) : 1.6.2
librdkafka version (build) :| 1.6.2.255
I tried to change the KAFKA_COMPRESSION_TYPE option to "none" or "gzip" without any success.
Note that by following the high level consumer exemple from rdkafka i am receiving message just fine.
Any ideas what am i missing ?
Thanks
The text was updated successfully, but these errors were encountered: