Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Lease Renewer Threadpool Size Configurable #177

Merged
merged 2 commits into from
Jul 20, 2017

Conversation

pfifer
Copy link
Contributor

@pfifer pfifer commented Jun 7, 2017

Makes the lease renewer threadpool size configurable, and switches back to the CachedThreadPool with some changes.

The CachedThreadPool is now created with some differences:

  • Core threads are 25% of the configured size (minimum of 2)
  • Core threads no longer time out.

Fixes #171

Allow configuration of the lease renewer thread pool size.  Users can
now control the size of the pool.  Additionally core threads are now
a quarter of the thread pool size, and aren't allowed to timeout.
@pfifer pfifer added this to the v1.8.0 milestone Jun 12, 2017
@pfifer pfifer merged commit f697a09 into awslabs:master Jul 20, 2017
pfifer added a commit to pfifer/amazon-kinesis-client that referenced this pull request Jul 25, 2017
* Execute graceful shutdown on its own thread
  * PR awslabs#191
  * Issue awslabs#167
* Added support for controlling the size of the lease renewer thread pool
  * PR awslabs#177
  * Issue awslabs#171
* Require Java 8 and later
  Java 8 is now required for versions 1.8.0 of the amazon-kinesis-client and later.
  * PR awslabs#176
@pfifer pfifer mentioned this pull request Jul 25, 2017
pfifer added a commit that referenced this pull request Jul 25, 2017
* Execute graceful shutdown on its own thread
  * PR #191
  * Issue #167
* Added support for controlling the size of the lease renewer thread pool
  * PR #177
  * Issue #171
* Require Java 8 and later
  Java 8 is now required for versions 1.8.0 of the amazon-kinesis-client and later.
  * PR #176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant