logstash-input-kinesis 2.0.11-java → 2.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/inputs/kinesis.rb +1 -3
- data/lib/logstash/inputs/kinesis/version.rb +1 -1
- data/spec/inputs/kinesis_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a408a0f2c40378594c68c71dc444c9ae309a54339ea18f0a2a75141a69db8c9
|
4
|
+
data.tar.gz: 4c91a0117e9e7e19dc1eb4661cfe316001c46ae70a7da93fd7c7afaf999dcd93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44dc3e7387dfad78a0324393187135f7bc0580d3b0dcc5eba55b99bffca02e891272a9e95e7269575ac91d91d323418a0c00f8ae084ba4c0ce334edbab3d209f
|
7
|
+
data.tar.gz: 27f72f9835c52321ed7fa973f8fbcbf2d60874aac9c7da407d046cb574ef547e97cbeb54436e64c1c4909dcbc614d432a89406b57c26a5c5048a603476f296ed
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 2.1.0
|
2
|
+
- Changed role assumption to also assume role for interactions with dynamodb and cloudwatch [#66](https://github.com/logstash-plugins/logstash-input-kinesis/pull/66)
|
3
|
+
|
1
4
|
## 2.0.11
|
2
5
|
- Added the ability to assume a role [#40](https://github.com/logstash-plugins/logstash-input-kinesis/pull/40)
|
3
6
|
|
@@ -110,9 +110,7 @@ class LogStash::Inputs::Kinesis < LogStash::Inputs::Base
|
|
110
110
|
@kcl_config = KCL::KinesisClientLibConfiguration.new(
|
111
111
|
@application_name,
|
112
112
|
@kinesis_stream_name,
|
113
|
-
kinesis_creds, # credential provider for
|
114
|
-
creds, # credential provider for creating / accessing the dynamo table
|
115
|
-
creds, # credential provider for cloudwatch metrics
|
113
|
+
kinesis_creds, # credential provider for Kinesis, DynamoDB and Cloudwatch access
|
116
114
|
worker_id).
|
117
115
|
withInitialPositionInStream(initial_position_in_stream).
|
118
116
|
withRegionName(@region)
|
data/spec/inputs/kinesis_spec.rb
CHANGED
@@ -126,8 +126,8 @@ RSpec.describe "inputs/kinesis" do
|
|
126
126
|
it "uses STS for accessing the kinesis stream if role_arn is specified" do
|
127
127
|
kinesis_with_role_arn.register
|
128
128
|
expect(kinesis_with_role_arn.kcl_config.get_kinesis_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
|
129
|
-
expect(kinesis_with_role_arn.kcl_config.get_dynamo_db_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.
|
130
|
-
expect(kinesis_with_role_arn.kcl_config.get_cloud_watch_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.
|
129
|
+
expect(kinesis_with_role_arn.kcl_config.get_dynamo_db_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
|
130
|
+
expect(kinesis_with_role_arn.kcl_config.get_cloud_watch_credentials_provider.getClass.to_s).to eq("com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider")
|
131
131
|
end
|
132
132
|
|
133
133
|
subject!(:kinesis_with_latest) { LogStash::Inputs::Kinesis.new(config_with_latest) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Brian Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|