knaufk commented on a change in pull request #13534:
URL: https://github.com/apache/flink/pull/13534#discussion_r500079229



##########
File path: docs/dev/table/connectors/formats/avro-confluent.md
##########
@@ -0,0 +1,132 @@
+---
+title: "Confluent Avro Format"
+nav-title: Confluent Avro
+nav-parent_id: sql-formats
+nav-pos: 3
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<span class="label label-info">Format: Serialization Schema</span>
+<span class="label label-info">Format: Deserialization Schema</span>
+
+* This will be replaced by the TOC
+{:toc}
+
+The Avro Schema Registry (``avro-confluent``) format allows you to read 
records that were serialized by the 
``io.confluent.kafka.serializers.KafkaAvroSerializer`` and to write records 
that can in turn be read by the 
``io.confluent.kafka.serializers.KafkaAvroDeserializer``. 
+
+When reading (deserializing) a record with this format the Avro writer schema 
is fetched from the configured Confluent Schema Registry based on the schema 
version id encoded in the record while the reader schema is inferred from table 
schema. 
+
+When writing (serializing) a record with this format the Avro schema is 
inferred from the table schema and registered in the configured Confluent 
Schema Registry under the 
[subject](https://docs.confluent.io/current/schema-registry/index.html#schemas-subjects-and-topics)
 given in `avro-confluent.schema-registry.subject`.

Review comment:
       Good point.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to