/
application.properties
68 lines (55 loc) · 2.17 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Zeebe endpoint
######################
# in cloud:
#zeebe.client.cloud.region=bru-2
#zeebe.client.cloud.clusterId=XXX
#zeebe.client.cloud.clientId=XXX
#zeebe.client.cloud.clientSecret=XXX
# or local
#zeebe.client.broker.gateway-address=127.0.0.1:26500
#zeebe.client.security.plaintext=true
server.port=8088
management.endpoints.web.exposure.include=*
# Main benchmark configurations
######################
benchmark.startProcesses=true
benchmark.startPiPerSecond=25
benchmark.taskCompletionDelay=200
benchmark.bpmnProcessId=benchmark
# Set this to false if you only want to start processes but don't want any workers
benchmark.startWorkers=true
benchmark.jobType=benchmark-task
# Create multiple workers to respond to multiple job types
# By default, only one worker is created and will listen for job type defined above.
# If the value is set to `2`, for example, 2 workers are created: `benchmark-task-1` and `benchmark-task-2`
benchmark.multipleJobTypes=0
# 5 minutes warmup: 5*60*1000
benchmark.warmupPhaseDurationMillis=300000
# can be "none" or "backpressure" or "jobRatio"
benchmark.startRateAdjustmentStrategy=backpressure
benchmark.payloadPath=classpath:bpmn/typical_payload.json
benchmark.autoDeployProcess=true
benchmark.bpmnResource=classpath:bpmn/typical_process.bpmn
benchmark.starterId=benchmarkStarter1
# BPMN Message Scenario
########################
#benchmark.bpmnResource=classpath:bpmn/msg_process.bpmn
#benchmark.messageScenario=classpath:bpmn/sample-msg-scenario.json
#benchmark.messagesTtl=60
#benchmark.messagesScenariosPerSecond=10
#benchmark.delayBetweenMessages=10000
#benchmark.messagesLoadDuration=1000
# More specific configs you better leave as is unless you know what you are doing :-)
######################
zeebe.client.worker.max-jobs-active=2000
zeebe.client.worker.threads=100
zeebe.client.default-job-worker-stream-enabled=true
benchmark.maxBackpressurePercentage=10.0
benchmark.startPiReduceFactor=0.1
benchmark.startPiIncreaseFactor=0.4
async.corePoolSize=5
async.maxPoolSize=100
async.queueCapacity=1000
scheduler.poolSize=10
# when 0, use the default Exponential Backoff Supplier. Otherwise, specify fixed number of millis backoff.
benchmark.fixedBackOffDelay=0