kcat icon indicating copy to clipboard operation
kcat copied to clipboard

kcat read protobuf topic: Unkown error 316

Open sukhmel opened this issue 2 months ago • 0 comments

I'm trying to read a topic with protobuf encoded values, but get the following error and the output finishes after a single message:

kcat -b kafka-bootstrap:9094 -t topic -C -c 3 -D'\0' | protoc --decode=Event --proto_path=./api/proto/internal internal/event.proto --proto_path=./api/proto/public
% ERROR: Write error for message of 767 bytes in topic [2] at offset 7390143: Unknown error: 316
// one message is decoded

kcat version is:

kcat - Apache Kafka producer and consumer tool
https://github.com/edenhill/kcat
Copyright (c) 2014-2021, Magnus Edenhill
Version 1.7.1 (JSON, Avro, Transactions, IncrementalAssign, librdkafka 2.10.0 builtin.features=gzip,snappy,ssl,sasl,regex,lz4,sasl_gssapi,sasl_plain,sasl_scram,plugins,zstd,sasl_oauthbearer,http,oidc)

What is that failed write attempt, where does it try to write and what for? Maybe, I need more parameters?

sukhmel avatar Oct 27 '25 11:10 sukhmel