You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/03 18:56:21 UTC
[jira] [Commented] (FLINK-4559) Kinesis Producer not setting
credentials provider properly when AWS_CREDENTIALS_PROVIDER is "AUTO"
[ https://issues.apache.org/jira/browse/FLINK-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15461528#comment-15461528 ]
ASF GitHub Bot commented on FLINK-4559:
---------------------------------------
GitHub user tzulitai opened a pull request:
https://github.com/apache/flink/pull/2470
[FLINK-4559][kinesis-connector] Fix AWSUtil.getCredentialsProvider() to not return null
Let `AWSUtil#getCredentialsProvider` return a `DefaultAWSCredentialsProviderChain` instead of `null` when
`AWS_CREDENTIALS_PROVIDER` config is set to `AUTO`.
This mainly fixes the Kinesis producer to correctly get credentials when using the `AUTO` option.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tzulitai/flink FLINK-4559
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2470.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2470
----
commit 7b86137672a4bdec7d67108bf423ef10269ddfa7
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
Date: 2016-09-03T17:37:39Z
[FLINK-4559][kinesis-connector] Fix AWSUtil.getCredentialsProvider() to not return null
Return a DefaultAWSCredentialsProviderChain instead of null when
AWS_CREDENTIALS_PROVIDER config is set to "AUTO"
----
> Kinesis Producer not setting credentials provider properly when AWS_CREDENTIALS_PROVIDER is "AUTO"
> --------------------------------------------------------------------------------------------------
>
> Key: FLINK-4559
> URL: https://issues.apache.org/jira/browse/FLINK-4559
> Project: Flink
> Issue Type: Bug
> Components: Kinesis Connector
> Affects Versions: 1.1.0, 1.1.1, 1.1.2
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Minor
> Fix For: 1.1.3
>
>
> If the {{AWS_CREDENTIAL_PROVIDER}} option is set to {{AUTO}}, {{AWSUtils.getCredentialsProvider}} will return {{null}}, so {{setCredentialsProvider}} should not be explicitly called on the internally built {{KinesisProducerConfiguration}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)