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

ansible: make dispatching and complete queue threads configurable #149

Merged
merged 1 commit into from May 6, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -255,6 +255,12 @@ org.killbill.notificationq.analytics.max.failure.retry={{ lookup('env', 'KILLBIL
{% if lookup('env', 'KILLBILL_ANALYTICS_NOTIFICATION_NB_THREADS') %}
org.killbill.notificationq.analytics.notification.nbThreads={{ lookup('env', 'KILLBILL_ANALYTICS_NOTIFICATION_NB_THREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_ANALYTICS_LIFECYCLE_DISPATCH_NBTHREADS') %}
org.killbill.notificationq.analytics.lifecycle.dispatch.nbThreads={{ lookup('env', 'KILLBILL_ANALYTICS_LIFECYCLE_DISPATCH_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_ANALYTICS_LIFECYCLE_COMPLETE_NBTHREADS') %}
org.killbill.notificationq.analytics.lifecycle.complete.nbThreads={{ lookup('env', 'KILLBILL_ANALYTICS_LIFECYCLE_COMPLETE_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_ANALYTICS_QUEUE_CAPACITY') %}
org.killbill.notificationq.analytics.queue.capacity={{ lookup('env', 'KILLBILL_ANALYTICS_QUEUE_CAPACITY') }}
{% endif %}
@@ -285,6 +291,12 @@ org.killbill.notificationq.main.notification.nbThreads={{ lookup('env', 'KILLBIL
{% if lookup('env', 'KILLBILL_MAIN_NOTIFICATION_OFF') %}
org.killbill.notificationq.main.notification.off={{ lookup('env', 'KILLBILL_MAIN_NOTIFICATION_OFF') }}
{% endif %}
{% if lookup('env', 'KILLBILL_MAIN_LIFECYCLE_DISPATCH_NBTHREADS') %}
org.killbill.notificationq.main.lifecycle.dispatch.nbThreads={{ lookup('env', 'KILLBILL_MAIN_LIFECYCLE_DISPATCH_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_MAIN_LIFECYCLE_COMPLETE_NBTHREADS') %}
org.killbill.notificationq.main.lifecycle.complete.nbThreads={{ lookup('env', 'KILLBILL_MAIN_LIFECYCLE_COMPLETE_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_MAIN_QUEUE_CAPACITY') %}
org.killbill.notificationq.main.queue.capacity={{ lookup('env', 'KILLBILL_MAIN_QUEUE_CAPACITY') }}
{% endif %}
@@ -378,6 +390,12 @@ org.killbill.persistent.bus.external.max.failure.retry={{ lookup('env', 'KILLBIL
{% if lookup('env', 'KILLBILL_BUS_EXTERNAL_NB_THREADS') %}
org.killbill.persistent.bus.external.nbThreads={{ lookup('env', 'KILLBILL_BUS_EXTERNAL_NB_THREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_BUS_EXTERNAL_LIFECYCLE_DISPATCH_NBTHREADS') %}
org.killbill.persistent.bus.external.lifecycle.dispatch.nbThreads={{ lookup('env', 'KILLBILL_BUS_EXTERNAL_LIFECYCLE_DISPATCH_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_BUS_EXTERNAL_LIFECYCLE_COMPLETE_NBTHREADS') %}
org.killbill.persistent.bus.external.lifecycle.complete.nbThreads={{ lookup('env', 'KILLBILL_BUS_EXTERNAL_LIFECYCLE_COMPLETE_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_EXTERNAL_QUEUE_CAPACITY') %}
org.killbill.persistent.bus.external.queue.capacity={{ lookup('env', 'KILLBILL_EXTERNAL_QUEUE_CAPACITY') }}
{% endif %}
@@ -411,6 +429,12 @@ org.killbill.persistent.bus.main.nbThreads={{ lookup('env', 'KILLBILL_BUS_MAIN_N
{% if lookup('env', 'KILLBILL_BUS_MAIN_OFF') %}
org.killbill.persistent.bus.main.off={{ lookup('env', 'KILLBILL_BUS_MAIN_OFF') }}
{% endif %}
{% if lookup('env', 'KILLBILL_BUS_MAIN_LIFECYCLE_DISPATCH_NBTHREADS') %}
org.killbill.persistent.bus.main.lifecycle.dispatch.nbThreads={{ lookup('env', 'KILLBILL_BUS_MAIN_LIFECYCLE_DISPATCH_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_BUS_MAIN_LIFECYCLE_COMPLETE_NBTHREADS') %}
org.killbill.persistent.bus.main.lifecycle.complete.nbThreads={{ lookup('env', 'KILLBILL_BUS_MAIN_LIFECYCLE_COMPLETE_NBTHREADS') }}
{% endif %}
{% if lookup('env', 'KILLBILL_MAIN_QUEUE_CAPACITY') %}
org.killbill.persistent.bus.main.queue.capacity={{ lookup('env', 'KILLBILL_MAIN_QUEUE_CAPACITY') }}
{% endif %}
@@ -37,6 +37,8 @@ For jConsole and remote debugging, you need to pass the host IP address as `ENV_
The following environment variables will populate the default `killbill.properties`. For further customization, you should bind mount `/var/lib/killbill/killbill.properties` when launching the Docker image.

* `KILLBILL_ANALYTICS_NOTIFICATION_NB_THREADS` (default `5`)
* `KILLBILL_ANALYTICS_LIFECYCLE_DISPATCH_NBTHREADS` (default `1`)
* `KILLBILL_ANALYTICS_LIFECYCLE_COMPLETE_NBTHREADS` (default `2`)
* `KILLBILL_ANALYTICS_QUEUE_CAPACITY` (default `30000`)
* `KILLBILL_BUNDLE_CACHE_NAME` (default `osgi-cache`)
* `KILLBILL_BUNDLE_INSTALL_DIR` (default `/var/lib/killbill/bundles`)
@@ -47,13 +49,17 @@ The following environment variables will populate the default `killbill.properti
* `KILLBILL_BUS_EXTERNAL_SLEEP` (default `0`)
* `KILLBILL_BUS_EXTERNAL_TABLE_NAME` (default `bus_ext_events`)
* `KILLBILL_BUS_EXTERNAL_USE_INFLIGHT_Q` (default `true`)
* `KILLBILL_BUS_EXTERNAL_LIFECYCLE_DISPATCH_NBTHREADS` (default `1`)
* `KILLBILL_BUS_EXTERNAL_LIFECYCLE_COMPLETE_NBTHREADS` (default `2`)
* `KILLBILL_BUS_MAIN_CLAIMED` (default `10`)
* `KILLBILL_BUS_MAIN_HISTORY_TABLE_NAME` (default `bus_events_history`)
* `KILLBILL_BUS_MAIN_IN_MEMORY` (default `false`)
* `KILLBILL_BUS_MAIN_NB_THREADS` (default `50`)
* `KILLBILL_BUS_MAIN_OFF` (default `false`)
* `KILLBILL_BUS_MAIN_SLEEP` (default `0`)
* `KILLBILL_BUS_MAIN_TABLE_NAME` (default `bus_events`)
* `KILLBILL_BUS_MAIN_LIFECYCLE_DISPATCH_NBTHREADS` (default `1`)
* `KILLBILL_BUS_MAIN_LIFECYCLE_COMPLETE_NBTHREADS` (default `2`)
* `KILLBILL_CACHE_CONFIG_LOCATION` (default `ehcache.xml`)
* `KILLBILL_CATALOG_BUNDLE_PATH` (default `org/killbill/billing/util/template/translation/CatalogTranslation`)
* `KILLBILL_CATALOG_URI` (default `SpyCarBasic.xml`)
@@ -103,8 +109,9 @@ The following environment variables will populate the default `killbill.properti
* `KILLBILL_MAIN_CLAIM_TIME` (default `5m`)
* `KILLBILL_MAIN_NOTIFICATION_NB_THREADS` (default `10`)
* `KILLBILL_MAIN_NOTIFICATION_OFF` (default `false`)
* `KILLBILL_MAIN_LIFECYCLE_DISPATCH_NBTHREADS` (default `1`)
* `KILLBILL_MAIN_LIFECYCLE_COMPLETE_NBTHREADS` (default `2`)
* `KILLBILL_MAIN_QUEUE_CAPACITY` (default `1000000`)
* `KILLBILL_MAIN_QUEUE_CAPACITY` (default `100`)
* `KILLBILL_MAIN_QUEUE_MODE` (default `STICKY_POLLING`)
* `KILLBILL_MANUAL_PAY_TEMPLATE_NAME` (default `org/killbill/billing/util/email/templates/HtmlInvoiceTemplate.mustache`)
* `KILLBILL_MAX_FAILURE_RETRY` (default `3`)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.