fgeller / kt

Kafka command line tool that likes JSON
MIT License
950 stars 100 forks source link

CRC didn't match #123

Closed unexist closed 2 years ago

unexist commented 3 years ago

Hey,

verbose mode always tells me the CRC doesn't match and actually the first Google match for this error is following issue:

https://github.com/fgeller/kt/issues/100

So is this the same problem? Apparently, I cannot consume any Kafka message right now:

2021/05/07 16:04:05 consumer/broker/1 added subscription to todo_created/0
2021/05/07 16:04:05 Connected to broker at localhost:9092 (registered as #1)
2021/05/07 16:04:05 consumer/broker/1 disconnecting due to error processing FetchRequest: kafka: error decoding packet: CRC didn't match
2021/05/07 16:04:05 Closed connection to broker localhost:9092
2021/05/07 16:04:05 kafka: error while consuming todo_created/0: kafka: error decoding packet: CRC didn't match

Just for reference, kafkacat is working fine:

kafkacat -b localhost:9092 -t todo_created -o 23
% Auto-selecting Consumer mode (use -P or -C to override)
{"schema":null,"payload":"{\"title\":\"string\",\"description\":\"string\",\"done\":false,\"dueDate\":{\"start\":\"2021-05-07\",\"due\":\"2021-05-07\"},\"id\":4}"}
% Reached end of topic todo_created [0] at offset 24
fgeller commented 2 years ago

hi @unexist can you try with v13.1?

unexist commented 2 years ago

@fgeller Works like a charm - thanks for the update! :)

fgeller commented 2 years ago

:)