Commit graph

155 commits

Author SHA1 Message Date
Ethan Katnic
90d984b670 Add method header for getClass helper 2024-09-04 10:38:15 -07:00
Ethan Katnic
892cc79dfc Add functionality to decoder for create(arg) providers and refactor provider creation 2024-09-04 10:31:43 -07:00
Ethan Katnic
1e708e1196 Add tests to validate create() method providers and StsAssumeRoleCredentialsProvider 2024-09-04 10:30:56 -07:00
Ethan Katnic
77a3440f0b Clean up legacy library names 2024-08-29 16:21:23 -07:00
Ethan Katnic
6deff85994 Remove unused prefix 2024-08-29 16:16:18 -07:00
Ethan Katnic
9b342180e0 Clean up unused changes 2024-08-29 16:13:02 -07:00
Ethan Katnic
921781b9f9 Simplify decoder logic for empty create constructor. Update documentation. 2024-08-29 15:46:42 -07:00
Ethan Katnic
444a4ddf9a Add https check 2024-08-27 10:19:27 -07:00
Ethan Katnic
22c2a7c910 Simplify syntax of StsAssumeRoleCredentialsProvider 2024-08-27 09:10:49 -07:00
Ethan Katnic
6799c81f82 Simplify StsAssumeRoleCredentialsProvider logic 2024-08-27 09:06:07 -07:00
Ethan Katnic
f8eafb457a Add casting check for create() provider 2024-08-22 10:33:07 -07:00
Ethan Katnic
8aa81dc255 Remove unused old sdk version 2024-08-21 11:35:28 -07:00
Ethan Katnic
4edccf42f0 Add region validation to region setting in NestedPropertyProcessor 2024-08-21 10:44:18 -07:00
Ethan Katnic
e6402773d6 Fix syntax error, update method header for new clazz param 2024-08-21 09:18:17 -07:00
Ethan Katnic
f83f8c8e02 Upgrade DefaultCredentialsProvider and AwsBasicCredentials to AWS SDK v2 2024-08-21 08:49:42 -07:00
Ethan Katnic
c8f642b435 Upgrade ProviderPropertyValueDecoder to aws SDK v2 2024-08-21 08:48:31 -07:00
Ethan Katnic
17f7d51845 Remove v1 credential wrapper from daemon configuration 2024-08-20 10:08:10 -07:00
Ethan Katnic
119ef42206 Rewrite KCLSTSAssumeRoleCredentialsProvider to use AWS SDK v2 2024-08-19 17:41:06 -07:00
Ethan Katnic
a8b70da3b3 Upgrade NestedPropertyKey and NestedPropertyProcessor to AWS SDKv2 2024-08-19 17:39:30 -07:00
lucienlu-aws
1c0c41c4e8
Add config to enable PITR (#1365)
* Add config to enable PITR
2024-07-15 14:15:52 -07:00
dependabot[bot]
78fb42ede1 Bump commons-io:commons-io from 2.15.1 to 2.16.1
Bumps commons-io:commons-io from 2.15.1 to 2.16.1.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 11:06:32 -07:00
dependabot[bot]
a83b3fbd57 Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.6.3...maven-javadoc-plugin-3.7.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 09:06:16 -07:00
Nakul Joshi
49fa32d68e Update maven compiler plugin to 3.13.0
This version of the compiler plugin supports the `--release` option as
documented [here](https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html).
2024-05-30 09:33:41 -07:00
Nakul Joshi
18fe49eed0 run spotless:apply 2024-05-21 01:27:20 -07:00
Nakul Joshi
409a8f13cd add spotless 2024-05-21 01:27:20 -07:00
kcl-release-automation-bot
35fc72b2c8
Add snapshot to version 2.6.1-SNAPSHOT (#1324) 2024-05-01 17:54:42 -07:00
kcl-release-automation-bot
89a90e34e2
Preparation for v2.6.0 (#1323) 2024-05-01 17:48:25 -07:00
lucienlu-aws
96be30b3e7
Change agedFailoverTimeMultiplier config to doPriorityLeaseTaking (#1317)
* Change agedFailoverTimeMultiplier config to doPriorityLeaseTaking
2024-04-22 10:35:08 -07:00
vincentvilo-aws
7d55b7a77f
Create script to check for backwards compatibility (#1316)
* create script to check for backwards compatibility

* move scripts directory to .github folder

* add execute permissions to script

* moved the 'continue' call to the find_removed_methods() function

* add function to check if minor release is being performed

* Upgrade version to 2.6.0-SNAPSHOT
2024-04-19 14:01:04 -07:00
lucienlu-aws
981899499f
Expose veryOldLeaseDurationMultiplier in LeaseManagementConfig (#1307)
* Expose veryOldLeaseDurationMultiplier in LeaseManagementConfig as agedFailoverTimeMultiplier
2024-04-10 11:24:53 -07:00
kcl-release-automation-bot
581d713815
Add snapshot to version 2.5.9-SNAPSHOT (#1303) 2024-04-02 08:09:22 -07:00
kcl-release-automation-bot
bf5ab60f4b
Preparation for v2.5.8 (#1290) 2024-03-27 15:19:20 -07:00
dependabot[bot]
fcfa3ec08f
Upgrade org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.3 (#1282)
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.3.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.5.0...maven-javadoc-plugin-3.6.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 10:07:03 -07:00
kcl-release-automation-bot
f205673fee
Preparation for v2.5.7 (#1287) 2024-03-19 11:09:32 -07:00
dependabot[bot]
ddff314020
Bump commons-io:commons-io from 2.11.0 to 2.15.1 (#1236)
Bumps commons-io:commons-io from 2.11.0 to 2.15.1.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 10:38:07 -07:00
kcl-release-automation-bot
1675f0a297
Preparation for v2.5.6 (#1272) 2024-03-11 08:58:55 -07:00
vincentvilo-aws
1280325c20
add functionality to retry an InvalidArgumentException (#1270)
* add functionality to retry an InvalidArgumentException with a new iterator

* include DEFAULT_MAX_RECORDS value in IllegalArgumentException messages
2024-03-08 13:37:25 -08:00
Brendan Lynch
63e0fe7537
Adding snapshot for 2.5.6-SNAPSHOT (#1271)
---------

Co-authored-by: Brendan Lynch <brenplyn@amazon.com>
2024-03-08 09:31:07 -08:00
Brendan Lynch
b4c2c6c947
Upgrade ch.qos.logback:logback-classic dependency from 1.3.12 to 1.3.14, awssdk.version from 2.20.43 to 2.25.3 aws-java-sdk.version from 1.12.405 to 1.12.668 gsr.version from 1.1.17 to 1.1.19
* Upgrade ch.qos.logback:logback-classic dependency from 1.3.12 to 1.5.1 in /amazon-kinesis-client and /amazon-kinesis-client-multilang and aws-java-sdk.version from 1.12.405 to 1.12.668 in /amazon-kinesis-client-multilang

* Upgrade ch.qos.logback:logback-classic dependency from 1.5.1 to 1.3.14 in /amazon-kinesis-client and /amazon-kinesis-client-multilang and upgrade awssdk.version from 2.20.43 to 2.25.3

* upgrade awssdk.version from 2.20.43 to 2.25.3

* Upgrade gsr.version from 1.1.17 to 1.1.19

---------

Co-authored-by: Brendan Lynch <brenplyn@amazon.com>
2024-03-07 14:37:40 -08:00
kcl-release-automation-bot
b9ec494b02
Preparation for v2.5.5 (#1267) 2024-02-23 14:27:32 -08:00
lucienlu-aws
fb6ab3f0bc
Add snapshot to version (#1259) 2024-02-20 13:20:31 -08:00
kcl-release-automation-bot
a5d1c67660
Preparation for v2.5.4 (#1240) 2023-12-13 13:05:16 -08:00
dependabot[bot]
1701eb3763
Bump ch.qos.logback:logback-classic in /amazon-kinesis-client-multilang (#1233)
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.3.0 to 1.3.12.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.3.0...v_1.3.12)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 12:12:12 -08:00
Aravinda Kidambi Srinivasan
44837b702a
Fix an issue in configuring idleTimeBetweenReadsInMillis in MultiLangDaemon (#1230)
Fix an issue where the idleTimeBetweenReadInMillis configured
via MultiLangDaemon was not taking effect because it used
the auto-generated setter from Lombok to set the configured value,
while there is a custom setter that must be invoked to set the
value correctly.

There is also a general confusion between using Lombok's setter vs
custom setter in java.

Unifying the approach to use the custom Lombok-fluent-style setter
and deprecating the previously added custom setIdleTimeBetweenReadsInMillis

Correct way to configure idleTimeBetweenReadsInMillis for MultiLang is
to add this in the properties file:
idleTimeBetweenReadsInMillis = 10000 # 10 seconds

Correct way to configure for java:
configsBuilder.retrievalConfig().retrievalSpecificConfig(
    new PollingConfig(streamName, kinesisClient)
        .idleTimeBetweenReadsInMillis(Duration.ofSeconds(10).toMillis())

Issues: #999, #950, #515
2023-11-22 17:30:41 -08:00
Brendan Lynch
8ed4999a46
Revbump KCL from 2.5.3 to 2.5.4-SNAPSHOT (#1226)
---------

Co-authored-by: Brendan Lynch <brenplyn@amazon.com>
2023-11-09 10:42:39 -08:00
Brendan Lynch
a7694a1f67
Release of 2.5.3 (#1223) 2023-11-08 16:14:15 -08:00
stair
a1731dc49b
Reintroduced -SNAPSHOT classifier on KCL version. (#1188) 2023-08-07 18:13:07 -07:00
stair
7384bc1dbe
Release of 2.5.2 (#1187) 2023-08-07 17:54:53 -07:00
stair
2f4ff65681
[#367] Enhanced multi-lang AWSCredentialsProvider=... decoder and c… (#1184)
* [#367] Enhanced multi-lang `AWSCredentialsProvider=...` decoder and construction.

+ added support for external ids (issue #367)
+ added support for endpoint+region (e.g., STS via VPC)

* Multiple multi-lang edits to introduce logging and additional tests.

+ added `ENDPOINT_REGION` nested key for a simpler Cx experience
+ deduplicated, and improved, logic w.r.t. CredentialsProvider
construction to NOT swallow Exceptions

* Relocated `multilang.properties` from `main/resources` to `test/resources`
2023-08-07 16:29:49 -04:00
pelaezryan
b2c3f9712a
Bumped KCL Version from 2.5.1 to 2.5.2-SNAPSHOT (#1164)
* Bumped KCL Version from 2.5.1 to 2.5.2-SNAPSHOT

* Updated pom.xml for amazon-kinesis-client and amazon-kinesis-client-multilang to 2.5.2-SNAPSHOT

---------

Co-authored-by: Ryan Pelaez <rmpelaez@amazon.com>
2023-07-07 15:35:08 -04:00