yxu-valleytider commented on a change in pull request #6427: 
[FLINK-9926][Kinesis Connector] Allow for ShardConsumer override in Kinesis 
consumer.
URL: https://github.com/apache/flink/pull/6427#discussion_r206369575
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java
 ##########
 @@ -204,7 +214,7 @@ public KinesisDataFetcher(List<String> streams,
                        new AtomicReference<>(),
                        new ArrayList<>(),
                        
createInitialSubscribedStreamsToLastDiscoveredShardsState(streams),
-                       KinesisProxy.create(configProps));
+                       KinesisProxy::create);
 
 Review comment:
   awesome double-colon usage!

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


With regards,
Apache Git Services

Reply via email to