piotr-szuberski commented on a change in pull request #12297:
URL: https://github.com/apache/beam/pull/12297#discussion_r459259999



##########
File path: 
sdks/java/io/kinesis/src/main/java/org/apache/beam/sdk/io/kinesis/KinesisIO.java
##########
@@ -561,6 +569,41 @@ public Read withMaxCapacityPerShard(Integer maxCapacity) {
     }
   }
 
+  /**
+   * A {@link PTransform} to read from Kinesis stream. Similar to {@link 
KinesisIO.Read}, but
+   * removes Kinesis metatdata and returns a {@link PCollection} of {@link 
byte[]}. See {@link
+   * KinesisIO} for more information on usage and configuration of reader.
+   */
+  public static class TypedWithoutMetadata extends PTransform<PBegin, 
PCollection<byte[]>> {

Review comment:
       My first attempt was to register a KnownCoder with coder registrar for 
KinesisRecord, but later I noticed that datetime is missing so I tried to send 
longs. But even so I still was getting beam:coders:javasdk:0.1 when I tried to 
use it in python.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to