-
Notifications
You must be signed in to change notification settings - Fork 539
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
Avro schema not found for topic X #894
Comments
Did you manage to solve this? We are facing the same issue. |
kafka.useTimestamp=false did the trick |
I used the configuration. At the very least, the documentation should be updated when using either of
On another note, it could be a design matter. In order to set the schema of the Avro/Parquet file, it uses the topic name ( I'm gonna create a PR to get the schema by topic and then try to use the ID as well. |
The fix is merged but forgot to close it. |
Related to #456 but different scenario
Version:
0.27
The topic
avro_topics_x
in Kafka has Avro messages. As usual, the schema registered under the subject ofavro_topics_x-value
. Once the application started, it will throw the following exception when writing the messages:As discussed #456 the issue is related to the time and place of parsing the message. If
kafka.useTimestamp=true
, it won't parse the message till gets to the writer.com.pinterest.secor.common.SecorSchemaRegistryClient#decodeMessage
that goes toKafkaAvroDeserializer
and uses the proper way of getting the schemacom.pinterest.secor.common.SecorSchemaRegistryClient#getSchema
that just queries the internal cache (a map). The schema won't be there unless you had a call todecodeMessage
before.The text was updated successfully, but these errors were encountered: