You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/10/20 05:21:20 UTC

[flink] branch master updated: [FLINK-19716][Kinesis][EFO] Unable to use Assume Role with EFO record publisher

This is an automated email from the ASF dual-hosted git repository.

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new f4e4046  [FLINK-19716][Kinesis][EFO] Unable to use Assume Role with EFO record publisher
f4e4046 is described below

commit f4e4046aed11c3f16a38f5f0202d7592cdbb5f2e
Author: Danny Cranmer <cr...@amazon.com>
AuthorDate: Mon Oct 19 14:08:24 2020 +0100

    [FLINK-19716][Kinesis][EFO] Unable to use Assume Role with EFO record publisher
    
    This closes #13689.
---
 flink-connectors/flink-connector-kinesis/pom.xml     | 13 +++++++++++++
 ...shaded.software.amazon.awssdk.http.SdkHttpService | 20 ++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/flink-connectors/flink-connector-kinesis/pom.xml b/flink-connectors/flink-connector-kinesis/pom.xml
index 9d22d8c..b43af44 100644
--- a/flink-connectors/flink-connector-kinesis/pom.xml
+++ b/flink-connectors/flink-connector-kinesis/pom.xml
@@ -38,6 +38,8 @@ under the License.
 		<aws.kinesis-kcl.version>1.11.2</aws.kinesis-kcl.version>
 		<aws.kinesis-kpl.version>0.14.0</aws.kinesis-kpl.version>
 		<aws.dynamodbstreams-kinesis-adapter.version>1.5.0</aws.dynamodbstreams-kinesis-adapter.version>
+		<httpclient.version>4.5.9</httpclient.version>
+		<httpcore.version>4.4.11</httpcore.version>
 	</properties>
 
 	<packaging>jar</packaging>
@@ -183,6 +185,17 @@ under the License.
 		</dependency>
 
 		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpclient</artifactId>
+			<version>${httpclient.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpcore</artifactId>
+			<version>${httpcore.version}</version>
+		</dependency>
+
+		<dependency>
 			<groupId>com.fasterxml.jackson.dataformat</groupId>
 			<artifactId>jackson-dataformat-cbor</artifactId>
 		</dependency>
diff --git a/flink-connectors/flink-connector-kinesis/src/main/resources/META-INF/services/org.apache.flink.kinesis.shaded.software.amazon.awssdk.http.SdkHttpService b/flink-connectors/flink-connector-kinesis/src/main/resources/META-INF/services/org.apache.flink.kinesis.shaded.software.amazon.awssdk.http.SdkHttpService
new file mode 100644
index 0000000..46bce5ca
--- /dev/null
+++ b/flink-connectors/flink-connector-kinesis/src/main/resources/META-INF/services/org.apache.flink.kinesis.shaded.software.amazon.awssdk.http.SdkHttpService
@@ -0,0 +1,20 @@
+#
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#
+
+org.apache.flink.kinesis.shaded.software.amazon.awssdk.http.apache.ApacheSdkHttpService