diff options
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index f29b9220..e5168929 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -56,6 +56,33 @@ kamon { } } + default-dispatcher { + # Dispatcher is the name of the event-based dispatcher + type = Dispatcher + + # What kind of ExecutionService to use + executor = "fork-join-executor" + + # Configuration for the fork join pool + fork-join-executor { + + # Min number of threads to cap factor-based parallelism number to + parallelism-min = 2 + + # Parallelism (threads) ... ceil(available processors * factor) + parallelism-factor = 2.0 + + # Max number of threads to cap factor-based parallelism number to + parallelism-max = 10 + } + + # Throughput defines the maximum number of messages to be + # processed per actor before the thread jumps to the next actor. + # Set to 1 for as fair as possible. + throughput = 100 + } + + trace { # If ask-pattern-tracing is enabled, a WARN level log message will be generated if a future generated by the `ask` # pattern fails with a `AskTimeoutException` and the log message will contain a stack trace captured at the moment |