Skip to content

kcat read protobuf topic: Unkown error 316 #466

Description

@sukhmel

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions