[
https://issues.apache.org/jira/browse/FLINK-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536685#comment-16536685
]
ASF GitHub Bot commented on FLINK-9679:
---------------------------------------
Github user dawidwys commented on the issue:
https://github.com/apache/flink/pull/6259
Hi @medcv ,
First of all thanks for the contribution. There is a couple of problems
with this implementation though:
* ConfluentSchemaRegistry follows the idea that schemas are grouped by
topic name. Providing the topic name in ctor of `SerializationSchema` will
break this assumption when used with topic pattern. I think we should somehow
enable passing schema from `KafkaProducer` to `SerializationSchema`, but it
would require far more changes.
* You assume in `RegistryAvroSerializationSchema` that schema is always
represented with a single id(`int`). That is true only for the
ConfluentSchemaRegistry, e.g. HortonworksSchemaRegistry uses
metadata-id(`long`) and version id(`int`). The idea of `SchemaCoder` was to
abstract away all "vendor" specific features.
> Implement AvroSerializationSchema
> ---------------------------------
>
> Key: FLINK-9679
> URL: https://issues.apache.org/jira/browse/FLINK-9679
> Project: Flink
> Issue Type: Improvement
> Affects Versions: 1.6.0
> Reporter: Yazdan Shirvany
> Assignee: Yazdan Shirvany
> Priority: Major
> Labels: pull-request-available
>
> Implement AvroSerializationSchema using Confluent Schema Registry
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)