Github user tzulitai commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2175#discussion_r68752991
  
    --- Diff: 
flink-streaming-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/proxy/KinesisProxy.java
 ---
    @@ -73,7 +76,14 @@ public KinesisProxy(Properties configProps) {
                this.configProps = checkNotNull(configProps);
     
                this.regionId = 
configProps.getProperty(KinesisConfigConstants.CONFIG_AWS_REGION);
    +           ClientConfigurationFactory configurationFactory = new 
ClientConfigurationFactory();
    +           ClientConfiguration config = configurationFactory.getConfig();
    +           
if(config.getUserAgent().equals(ClientConfiguration.DEFAULT_USER_AGENT)) {
    --- End diff --
    
    Why do we have to check if it equals the default user agent before setting 
it to Flink?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to