Commit graph

143 commits

Author SHA1 Message Date
lucienlu-aws
1ce6123a78
Prepare for release 3.0.3 (#1473) 2025-05-08 14:17:58 -07:00
lucienlu-aws
458ed653bc
Re-add SNAPSHOT to version (#1453) 2025-03-14 11:12:09 -07:00
lucienlu-aws
5263b4227c
Prepare for release 3.0.2 (#1447) 2025-03-12 10:22:41 -07:00
chenylee-aws
4492e1e206
Update version to 3.0.2-SNAPSHOT (#1404) 2024-11-15 12:02:50 -08:00
chenylee-aws
01d0e5cc55
Preparation for v3.0.1 (#1402) 2024-11-14 16:01:36 -08:00
Aravinda Kidambi Srinivasan
004f6d3ea0
Update version to 3.0.1-SNAPSHOT (#1394)
Change version to 3.0.1-SNAPSHOT
2024-11-07 14:01:51 -08:00
lucienlu-aws
fbfd74df39
Release v3.0.0 (#1392) 2024-11-05 22:09:59 -08: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
stair
8d1ee6b5e1
Checkstyle: tightened LineLength restriction from 170 to 150. (#1158) 2023-07-06 10:24:14 -07:00
stair
a9b0d00852
Checkstyle: added additional checks to, primarily, safeguard against bugs. (#1154) 2023-06-27 15:24:03 -04:00
pelaezryan
4eff398147
Preparation for v2.5.1 (#1155)
* Preparation for minor version v2.5.1

---------

Co-authored-by: Ryan Pelaez <rmpelaez@amazon.com>
2023-06-27 10:21:49 -07:00
stair
768f6a36bb
Checkstyle: added UnusedImports check. (#1153) 2023-06-26 16:19:30 -04:00
stair
74d8f4b780
Enabled Checkstyle validation of test resources. (#1150)
No functional change.
2023-06-26 15:25:10 -04:00
pelaezryan
dcd1c53fb1
Update to Multilang Daemon to support StreamArn (#1143)
* Updated multilang to support streamArn

* Updated arn import to use software.amzon instead of com.amazonaws, also updated unit tests to be more explicit with the expected exceptions

* Updated exception wording for region validation in StreamArn to be more consistent with other error messages

* reverted spacing change

* Updated StreamArn in multilang to only replace streamName (not region as well). Also updated unit tests and added Region validation

* Updated region validation in multilang to be more readible

* Refactored multilang unit tests to be more simple

* Updated multilang daemon to validate streamArn based on pattern rather than individual section

* removed region validation as this was not a requirement for stringArn support in multilangdaemon

* removed spacing and removed unit test assertion on exception message

* removed unnecessary param from unit test

* removed unused imports from multilang unit tests

* simplified the assertion for multilang daemon unit tests

* Cleaned up unit test code following best practices for spacing/naming conventions and simplied kinesisClientLibConfiguration

* Updated region code in unit tests for multilang daemon

---------

Co-authored-by: Ryan Pelaez <rmpelaez@amazon.com>
2023-06-26 09:02:19 -07:00
furq-aws
a8fc1367c6
Update KCL version to 2.5.1-SNAPSHOT (#1115) 2023-05-19 19:45:31 -07:00
lucienlu-aws
8b3f957db4
Preparation for v2.5.0 (#1113)
* Preparation for v2.5.0
2023-05-19 16:25:45 -07:00
dependabot[bot]
53c76c72c3
Bump maven-compiler-plugin from 3.8.1 to 3.11.0 (#1071)
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.11.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.11.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-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>
2023-05-15 14:16:37 -07:00
Yu Zeng
52e34dbe8f
Internally construct StreamARN using STS (#1087)
Co-authored-by: Yu Zeng <yuzen@amazon.com>
Co-authored-by: stair <123031771+stair-aws@users.noreply.github.com>
2023-04-18 15:26:31 -04:00
noahbt
10cdf43b9d
Updated versions to SNAPSHOT (#1085) 2023-03-23 13:54:50 -04:00
noahbt
b894669bda
Changes made for 2.4.8 (#1083) 2023-03-21 17:17:12 -07:00