[
https://issues.apache.org/jira/browse/FLINK-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352961#comment-15352961
]
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_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?
> 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)