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
Hello forks, first thanks for this awesome library. Its help me build a lot of automation around Scala case classes and avro. BTW I know that this library is in maintenance mode; never than less I'm here with some doubts about it. Said that lets say that I have a Flink Job that outputs Data to many topic and each output is represented by a case class as given:
All my outputs are backed by Schema Registry so we can keep track of schemas outputted by our jobs. To output the data to Kafka with Schema registry I had to create a SerializationSchema that first converts the case class to GenericRecord and then use ConfluentRegistryAvroSerializationSchema to proper produce the data to Kafka. The problem is that I'm still facing serialization issues with the RecordEncoder class from avro4s. I have managed to handle org.apache.avro.Schema serialization issues but I could not find a way of handling this situation with RecordEncoder. here is how my SerializationSchema class is right now:
Question is: Is there any other way to use Avro4s with schemaregistry and Kafka serializers? I saw SerDe implementation but I could not figure out how to adapt to my situation.
The text was updated successfully, but these errors were encountered:
Hello forks, first thanks for this awesome library. Its help me build a lot of automation around Scala case classes and avro. BTW I know that this library is in maintenance mode; never than less I'm here with some doubts about it. Said that lets say that I have a Flink Job that outputs Data to many topic and each output is represented by a case class as given:
All my outputs are backed by Schema Registry so we can keep track of schemas outputted by our jobs. To output the data to Kafka with Schema registry I had to create a
SerializationSchema
that first converts the case class toGenericRecord
and then useConfluentRegistryAvroSerializationSchema
to proper produce the data to Kafka. The problem is that I'm still facing serialization issues with theRecordEncoder
class from avro4s. I have managed to handleorg.apache.avro.Schema
serialization issues but I could not find a way of handling this situation withRecordEncoder
. here is how my SerializationSchema class is right now:Question is: Is there any other way to use Avro4s with schemaregistry and Kafka serializers? I saw SerDe implementation but I could not figure out how to adapt to my situation.
The text was updated successfully, but these errors were encountered: