[ 
https://issues.apache.org/jira/browse/FLINK-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352957#comment-15352957
 ] 

ASF GitHub Bot commented on FLINK-4085:
---------------------------------------

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

    https://github.com/apache/flink/pull/2175#discussion_r68752667
  
    --- 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)) {
    +                   // set specific user agent
    +                   config.setUserAgent("Apache Flink " + 
EnvironmentInformation.getVersion() + " (" + 
EnvironmentInformation.getRevisionInformation().commitId + ") Kinesis 
Connector");
    +           }
                AmazonKinesisClient client = new 
AmazonKinesisClient(AWSUtil.getCredentialsProvider(configProps).getCredentials());
    --- End diff --
    
    The client isn't using the new `ClientConfiguration`.


> Set Kinesis Consumer Agent to Flink
> -----------------------------------
>
>                 Key: FLINK-4085
>                 URL: https://issues.apache.org/jira/browse/FLINK-4085
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Kinesis Connector, Streaming Connectors
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>             Fix For: 1.1.0
>
>
> Currently, we use the default Kinesis Agent name.
> I was asked by Amazon to set it to something containing Flink.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to