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

Parameterize EventHub threadpool configurations #12167

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

PasanT9
Copy link
Contributor

@PasanT9 PasanT9 commented Oct 4, 2023

The configuration below allows customization of Thread Pool settings of the JMS TransportHandler for the Event Hub. This can be configured by adding either of the following configs.

[apim.event_hub.listener]
min_thread_pool_size = 20
max_thread_pool_size = 100
keep_alive_time_in_millis = 1000
job_queue_size = 10

Or

[apim.throttling.jms]
min_thread_pool_size = 20
max_thread_pool_size = 100
keep_alive_time_in_millis = 1000
job_queue_size = 10

Precendence will be given to apim.event_hub.listener configs. Only if the values are not defined under apim.event_hub.listener configs, configs under apim.throttling.jms are considered.

Git Issue: https://github.com/wso2-enterprise/wso2-apim-internal/issues/4613

@PasanT9 PasanT9 merged commit 7db9013 into wso2:master Oct 19, 2023
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.

2 participants