beam icon indicating copy to clipboard operation
beam copied to clipboard

Add support for Protobuf and JSON Schema on KafkaIO + Confluent Schema Registry

Open damccorm opened this issue 3 years ago • 4 comments
trafficstars

Confluent Schema Registry (CSR) 6 introduces support for other Schema types like Protobuf and JSON Schema. We should adapt KafkaIO to obtain the type of Schema and configure correctly its Deserializer and Coder.

Protobuf support https://github.com/confluentinc/schema-registry/pull/1285 JSON Schema support https://github.com/confluentinc/schema-registry/pull/1289

 

Imported from Jira BEAM-9330. Original Jira may contain additional context. Reported by: iemejia.

damccorm avatar Jun 04 '22 14:06 damccorm

@damccorm What is the status of this request?

zachariahyoung avatar May 10 '24 12:05 zachariahyoung

I'm not aware of any work being done on this, but I'm also not very intimately involved with the issue (I just migrated it from jira). @iemejia any chance you're aware of anything to do with this?

damccorm avatar May 10 '24 17:05 damccorm

I had a prototype of this looong time ago, but I never finished. It should be pretty straigthforward to implement, since the API of Confluent is closer, and now that reminds me that it was that probably the reason why I did not finish it because I realized that then we would need to care about backwards compatibility and I did not have more time to polish it.

iemejia avatar Jun 16 '24 16:06 iemejia

@Polber This'd be really useful for YAML too, where the type and schema could be inferred rather than needing to be fully spelled out.

robertwb avatar Jun 20 '24 18:06 robertwb