Kafka Schema registry

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Kafka Schema registry

Lasse Nedergaard
Hi.
Do Flink have out of the Box Support for Kafka Schema registry for both sources and sinks?
If not, does anyone knows about a implementation we can build on so we can help make it general available in a future release.

Med venlig hilsen / Best regards
Lasse Nedergaard

Reply | Threaded
Open this post in threaded view
|

Re: Kafka Schema registry

Elias Levy
Just for a Kafka source:


  • There is also a version of this schema available that can lookup the writer’s schema (schema which was used to write the record) in Confluent Schema Registry. Using these deserialization schema record will be read with the schema that was retrieved from Schema Registry and transformed to a statically provided( either through ConfluentRegistryAvroDeserializationSchema.forGeneric(...) or ConfluentRegistryAvroDeserializationSchema.forSpecific(...)).

On Wed, Sep 11, 2019 at 1:48 PM Lasse Nedergaard <[hidden email]> wrote:
Hi.
Do Flink have out of the Box Support for Kafka Schema registry for both sources and sinks?
If not, does anyone knows about a implementation we can build on so we can help make it general available in a future release.

Med venlig hilsen / Best regards
Lasse Nedergaard

Reply | Threaded
Open this post in threaded view
|

Re: Kafka Schema registry

Lasse Nedergaard
Hi Elias

Thanks for letting me know. I have found it but we also need the option to register Avro Schema’s and use the registry when we write to Kafka. So we will create a serialisation version and when it works implement it into Flink and create a pull request for the community. 

Med venlig hilsen / Best regards
Lasse Nedergaard


Den 12. sep. 2019 kl. 17.45 skrev Elias Levy <[hidden email]>:

Just for a Kafka source:


  • There is also a version of this schema available that can lookup the writer’s schema (schema which was used to write the record) in Confluent Schema Registry. Using these deserialization schema record will be read with the schema that was retrieved from Schema Registry and transformed to a statically provided( either through ConfluentRegistryAvroDeserializationSchema.forGeneric(...) or ConfluentRegistryAvroDeserializationSchema.forSpecific(...)).

On Wed, Sep 11, 2019 at 1:48 PM Lasse Nedergaard <[hidden email]> wrote:
Hi.
Do Flink have out of the Box Support for Kafka Schema registry for both sources and sinks?
If not, does anyone knows about a implementation we can build on so we can help make it general available in a future release.

Med venlig hilsen / Best regards
Lasse Nedergaard

Reply | Threaded
Open this post in threaded view
|

Re: Kafka Schema registry

anuj.aj07
 ConfluentRegistryAvroDeserializationSchema.forGeneric() is require reader schema .How we can used it deseralize using writer schema.

On Fri, Sep 13, 2019 at 12:04 AM Lasse Nedergaard <[hidden email]> wrote:
Hi Elias

Thanks for letting me know. I have found it but we also need the option to register Avro Schema’s and use the registry when we write to Kafka. So we will create a serialisation version and when it works implement it into Flink and create a pull request for the community. 

Med venlig hilsen / Best regards
Lasse Nedergaard


Den 12. sep. 2019 kl. 17.45 skrev Elias Levy <[hidden email]>:

Just for a Kafka source:


  • There is also a version of this schema available that can lookup the writer’s schema (schema which was used to write the record) in Confluent Schema Registry. Using these deserialization schema record will be read with the schema that was retrieved from Schema Registry and transformed to a statically provided( either through ConfluentRegistryAvroDeserializationSchema.forGeneric(...) or ConfluentRegistryAvroDeserializationSchema.forSpecific(...)).

On Wed, Sep 11, 2019 at 1:48 PM Lasse Nedergaard <[hidden email]> wrote:
Hi.
Do Flink have out of the Box Support for Kafka Schema registry for both sources and sinks?
If not, does anyone knows about a implementation we can build on so we can help make it general available in a future release.

Med venlig hilsen / Best regards
Lasse Nedergaard



--
Thanks & Regards,
Anuj Jain
Mob. : +91- 8588817877
Skype : anuj.jain07