-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue in configuring idleTimeBetweenReadsInMillis in MultiLang…
…Daemon 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
- Loading branch information
1 parent
a48f543
commit d39bde3
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters