You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Event Streams(Apache kafka platform)
Apicurio schema registry
Java spring custom app that produce avro serialized events using Apicurio SerDes library
Aiven S3 sink connector configure to that topic.
With this implementation I am getting error as SerializationException: Unknown Magic byte when the connector tries to store the events in S3.
With Java custom consumer app I am able to deserialize(Apicurio Serdes library) those events successfully but only via this connector getting issue.
Does this connector work with Apicurio schema registry or only with Confluent scheme registry ?
Also events serialized by Apicurio SerDes library can be converted by Confluent AvroConverter ?
Instead of Confluent AvroConverter Jar, I updated connector package with Apicurio Avro Converter jar(apicurio-registry-utils-converter) and referred that class in S3 config which worked.
To my understanding Confluent AvroConverter is looking for Magic Byte in specific format (0 * 0) and since the events are serialized by ApicurioSerializer from producer side magic number in different format which was causing issue.
@ram-venket36 as long as you have same Apicurio SerDes on producer and consumer side, that should work fine. So I assume that's not the case here, and hence you are getting this issue., and this is expected behaviour I believe.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I have below setup
Event Streams(Apache kafka platform)
Apicurio schema registry
Java spring custom app that produce avro serialized events using Apicurio SerDes library
Aiven S3 sink connector configure to that topic.
With this implementation I am getting error as SerializationException: Unknown Magic byte when the connector tries to store the events in S3.
With Java custom consumer app I am able to deserialize(Apicurio Serdes library) those events successfully but only via this connector getting issue.
Does this connector work with Apicurio schema registry or only with Confluent scheme registry ?
Also events serialized by Apicurio SerDes library can be converted by Confluent AvroConverter ?
Value.converter.schema.registry.url : 'My apicurio schema registry url'
value.converter: io.confluent.connect.avro.AvroConverter
value.converter.use.latest.version: true
value.converter.schema.enable: true
value.converter.specific.avro.reader:true
value.converter.enhanced.avro.schema.support: true
topic : topic name
Key.converter: ....Storage.StringConverter
Connector.Class:...... AivenKafkaConnectS3SinkConnector
Apart from this I have given default S3 bucket, access details and broker URL.
Thanks
The text was updated successfully, but these errors were encountered: