-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
kafka-avro-console-producer
not respecting --property parse.headers=true
#2390
Comments
This was referenced Sep 23, 2022
Closed
[feature][pulsar-io-kafka] Add option to copy Kafka headers to Pulsar properties
apache/pulsar#17806
Closed
Related (opposite for consumer) #1927 Similarly, headers aren't parsed. https://github.com/confluentinc/schema-registry/blob/master/schema-serializer/src/main/java/io/confluent/kafka/formatter/SchemaMessageReader.java#L318 |
As a workaround, kcat supports headers (and Avro) |
@DennisFederico , this was added to 7.4.0+ |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the
confluentinc/cp-schema-registry:7.2.1
docker image and trying to produce Avro messages with headers. The command is:The exception I'm getting (seems the reader is not respecting the \t delimiter and trying to parse the entire input as JSON):
Running the same command (leaving out the schema related config) with the
kafka-console-producer
tool works just fine:The text was updated successfully, but these errors were encountered: