Skip to content

Add ability to configure threads at least in PubSub and where appropriate #1683

Description

@saturnism

Currently, PubSub Subscriber creates multiple threads based on Runtime.availableProcessors(). This is a reasonable default but should be configurable, specifically when there are other competing threads pools, and also when running in Docker containers, where Runtime.availableProcessors() may not return the allocated CPUs (see https://bugs.openjdk.java.net/browse/JDK-6515172)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions