-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error when consuming: error decoding packet: CRC didn't match expected 0x0 #1144
Comments
🤔 I haven't had a chance to try against Kafka 2.0 yet, they've probably changed something in the protocol that's causing this, but I can't find any documentation on what API changes are included in this version... |
I got same issue when using this version https://github.com/Shopify/sarama/releases/tag/v1.17.0 35324cf48e33d8260e1c7c18854465a904ade249 and the latest tags of wurstmeister/kafka docker. I try to use 2.11-0.11.0.2 and 2.11-1.1.1 tags and now it works. But, when I try to use 2.11-2.0.0 tag (which the latest tag may refer to), I got the same error again. |
I got the same issue. Version: 2.12-2.0.0. |
I'll take a look tomorrow. |
It only fails if you set the version to pre V0_11_0_0 (which is also the default). |
I meet the same problem, kafka 2.0 version
|
kafka: error decoding packet: CRC didn't match expected |
use 1.1.1 tag of wurstmeister docker image like wusuf said till fix |
@eapache I think there is no big API change on kafka 2.0, because we use old c++ client Do you have any plan to fix this issue? We really want to use Go code to read datas from the kafka 2.0. Thank you. |
I believe that this issue had to be re-opened. |
Why? Are you still seeing the issue on master? |
I dont think the issue exists with the latest master code...Its working...Consumer is able to receive the message produced...log below from consumer output... 2018-09-12 13:40:30.5469877 -0700 MST m=+0.075200201 Received messages Something Cool |
Hi, I am getting the following error: kafka: error decoding packet: CRC didn't match. Can someone help? Let me know if any other information is required. |
Plz get the updated latest code ..issue will be solved
On Mon, Sep 17, 2018 at 4:45 AM Harshit Gupta ***@***.***> wrote:
Hi,
I am getting the following error:
kafka: error decoding packet: CRC didn't match. Can someone help? Let me
know if any other information is required.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ag1qV8FNcED1i7DqBoJIsh52C-gNjARlks5ub4twgaJpZM4VrgMs>
.
--
kiran...........
|
I have the same problem, kafka_2.11-2.2.1-cp1.jar version or kafka_2.11-2.0.1-cp1.jar
|
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: e7238b1
Kafka Version: 2.0.0
Go Version: 1.10.1
Configuration
Kafka is Wurstmeisters docker image file, nothing besides env variables changed.
Sarama SyncProducer for producing and consumer no configuration. Just NewConsumer, looping over Partitions and trying to get msg from ConsumePartition
Logs
kafka: error while consuming user.created/0: kafka: error decoding packet: CRC didn't match expected 0x0 got 0xe38a6876
Problem Description
Cant consume. Getting that error
The text was updated successfully, but these errors were encountered: