* 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
* 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>
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
* [#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`
* 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>
* 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>