"artifactId cannot be null" error in Apicurio Registry's deserializer #3322
Unanswered
hongbo-miao
asked this question in
Q&A
Replies: 1 comment
-
Hi @hongbo-miao, This is an interesting problem. The only chance for this error to happen is when no headers are written with the coordinates here. Are you by any chance using a custom HeadersHandler? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Originally asked in Stack Overflow. Below is a copy. Any guide would be appreciate, thanks! 😃
I am trying to figure what Kafka record header format does Apicurio Registry's deserializer expect.
My Avro Schema in Apicurio Registry
I have an artifact with ID
hm.motor-value
.curl --location 'http://apicurio-registry.svc/apis/registry/v2/groups/default/artifacts/hm.motor-value'
will return
My Spark code
Here is my Spark code to generate Kafka record in Avro format:
My JDBC connector config
Above code works well. Now I am hoping to get rid of
"value.converter.apicurio.registry.fallback.artifact-id": "hm.motor-value"
in the Kafka connector.Based on this doc,
my Kafka topic name is
hm.motor
, I expect it to match with the schema with artifact IDhm.motor-value
.However, right now if I remove
"value.converter.apicurio.registry.fallback.artifact-id": "hm.motor-value"
in my JDBC sink connector, I will get error:Any idea? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions