mosche commented on a change in pull request #16657:
URL: https://github.com/apache/beam/pull/16657#discussion_r797579947



##########
File path: 
sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/kinesis/KinesisReader.java
##########
@@ -39,62 +40,42 @@
 
   private static final Logger LOG = 
LoggerFactory.getLogger(KinesisReader.class);
 
+  private final Read read;

Review comment:
       👍 

##########
File path: 
sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/kinesis/KinesisIO.java
##########
@@ -494,17 +495,12 @@ public Read withMaxCapacityPerShard(Integer maxCapacity) {
 
     @Override
     public PCollection<KinesisRecord> expand(PBegin input) {
+      checkNotNull(getAWSClientsProvider(), "AWSClientsProvider cannot be 
null");

Review comment:
       👍 




-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to