[ 
https://issues.apache.org/jira/browse/BEAM-7336?focusedWorklogId=393188&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-393188
 ]

ASF GitHub Bot logged work on BEAM-7336:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Feb/20 05:24
            Start Date: 26/Feb/20 05:24
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on pull request #10966: 
[WIP][BEAM-7336] Add schema inferring for KafkaIO when reading Avro values
URL: https://github.com/apache/beam/pull/10966#discussion_r384277274
 
 

 ##########
 File path: 
sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java
 ##########
 @@ -1043,6 +1063,54 @@ public void populateDisplayData(DisplayData.Builder 
builder) {
     }
   }
 
+  /**
+   * A {@link PTransform} to read values serialised with Avro schema from 
Kafka topics. It removes
+   * Kafka metadata and returns a {@link PCollection} of only values typed as 
{@link GenericRecord}.
+   * Also, it sets Beam schema based on Avro schema used for values 
serialisation. See {@link
+   * KafkaIO} for more information on usage and configuration of reader.
+   */
+  public static class ReadValuesWithAvroSchema<K>
 
 Review comment:
   Remove (see reasoning above)
 
----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 393188)
    Time Spent: 1h  (was: 50m)

> KafkaIO should support inferring schemas when reading Avro
> ----------------------------------------------------------
>
>                 Key: BEAM-7336
>                 URL: https://issues.apache.org/jira/browse/BEAM-7336
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-java-kafka
>            Reporter: Reuven Lax
>            Assignee: Alexey Romanenko
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> PubSubIO already supports this.
> It would also be nice to be able to look up Avro schemas in the Kafka schema 
> registry.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to