flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9438) Add documentation for (Registry)AvroDeserializationSchema
Date Mon, 30 Jul 2018 10:04:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561723#comment-16561723

ASF GitHub Bot commented on FLINK-9438:

tzulitai commented on a change in pull request #6078: [FLINK-9438] Add documentation for AvroDeserializationSchema
URL: https://github.com/apache/flink/pull/6078#discussion_r206076862

 File path: docs/dev/connectors/kafka.md
 @@ -166,6 +166,39 @@ For convenience, Flink provides the following schemas:
     The KeyValue objectNode contains a "key" and "value" field which contain all fields,
as well as
     an optional "metadata" field that exposes the offset/partition/topic for this message.
+3. `AvroDeserializationSchema` which reads data serialized with Avro format using statically
provided schema. It can
+    infer the schema from avro generated classes (`AvroDeserializationSchema.forSpecific(...)`)
or it can work with `GenericRecords`
+    with manually provided schema (with `AvroDeserializationSchema.forGeneric(...)`). This
deserialization schema expects that
+    the serialized records DO NOT contain embedded schema.
+    - There is also version of this schema available that can lookup writers schema (schema
which was used to write the record) in
 Review comment:
   that can lookup the "writer's" schema

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Add documentation for (Registry)AvroDeserializationSchema
> ---------------------------------------------------------
>                 Key: FLINK-9438
>                 URL: https://issues.apache.org/jira/browse/FLINK-9438
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.6.0
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Critical
>              Labels: pull-request-available

This message was sent by Atlassian JIRA

View raw message