You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Aditya Sharma (JIRA)" <ji...@apache.org> on 2018/01/18 22:34:00 UTC

[jira] [Updated] (GOBBLIN-376) Kafka Schema Registration for RecordWithMetadata and BytesToRecordWithMetadataConverter

     [ https://issues.apache.org/jira/browse/GOBBLIN-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Sharma updated GOBBLIN-376:
----------------------------------
    Description: 
An Avro Schema might need to be registered to Kafka. Using RecordWithMetadata registered schema id can be added to record metadata.

Hence adding a converter with takes RecordWithMetadata, registers Avro schema with Kafka schema registry, adds the schema id to metadata and returns RecordWithMetadata will be useful.

BytestoRecordWithMetadata converter: To wrap bytes along with metadata

Use case:

Needed a converter which takes serialized avro record (byte array) and schema as string 

  was:
An Avro Schema might need to be registered to Kafka. Using RecordWithMetadata registered schema id can be added to record metadata.

Hence adding a converter with takes RecordWithMetadata, registers Avro schema with Kafka schema registry, adds the schema id to metadata and returns RecordWithMetadata will be useful.

Bytes to RecordWithMetadata converter will be useful to wrap bytes along with metadata


> Kafka Schema Registration for RecordWithMetadata and BytesToRecordWithMetadataConverter
> ---------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-376
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-376
>             Project: Apache Gobblin
>          Issue Type: New Feature
>          Components: misc
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Major
>
> An Avro Schema might need to be registered to Kafka. Using RecordWithMetadata registered schema id can be added to record metadata.
> Hence adding a converter with takes RecordWithMetadata, registers Avro schema with Kafka schema registry, adds the schema id to metadata and returns RecordWithMetadata will be useful.
> BytestoRecordWithMetadata converter: To wrap bytes along with metadata
> Use case:
> Needed a converter which takes serialized avro record (byte array) and schema as string 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)