-
Notifications
You must be signed in to change notification settings - Fork 487
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
Supplying metadata causes error when publishing message with Kafka PubSub component #3171
Comments
this is blocking the adoption of kafka pubsub for my team who are in the process of migrating from redis to kafka components. |
Is your Kafka version 0.11 or above? |
@yaron2 yes I'm using confluents 7.x images, which uses Kafka 3.x according to this doc https://docs.confluent.io/platform/current/installation/versions-interoperability.html Unless I'm massively getting the wrong end of the stick here :) |
So we can narrow down the cause, can you please replace the Confluent image with vanilla Kafka (see here) and report if that works? |
Also, can you look at the logs of the Confluent image, get the exact Kafka version used and then try adding the following to the component YAML? - name: version
value: 3.0.0 # REPLACE WITH THE ACTUAL VERSION |
Turns out I copied the component metadata verbatim from here : - name: version # Optional.
value: 0.10.2.0 I delete this, and everything works as expected, which makes sense as the docs say it defaults to So, I'll raise a docs issue to get example yaml changed to Thanks for the guidance! |
tldr : error message :
Detail="error when publish to topic workflowTopic in pubsub kafka-pubsub: kafka: invalid configuration (Producing headers requires Kafka at least v0.11)"
I've tried this on dapr runtime
1.10.0
,1.11.0
and1.12.0-rc.5
and the error message is the same, so doesn't seem like a recent regression.If I swap out Kafka for Redis, the message publishes as expected, so this sounds like a bug.
I'm trying to override the CE fields like below :
However, on publish the side car rejects the message :
kakfa/zookeeper configuration (I've also tried with the latest kafka/zookeeper tags)
The text was updated successfully, but these errors were encountered: