File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
java/org/mifos/connector/ams/zeebe Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ dependencies {
5858 implementation ' org.json:json:20210307'
5959 implementation ' org.apache.cxf:cxf-rt-rs-client:3.2.5'
6060 implementation ' org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.5'
61- implementation ' io.camunda:zeebe-client-java:8.1.1 '
61+ implementation ' io.camunda:zeebe-client-java:8.1.23 '
6262 testImplementation ' org.springframework.boot:spring-boot-starter-test:2.2.2.RELEASE'
6363 testImplementation ' org.junit.jupiter:junit-jupiter-api:5.6.0'
6464 testImplementation ' org.junit.jupiter:junit-jupiter-engine:5.6.0'
Original file line number Diff line number Diff line change @@ -17,10 +17,13 @@ public class ZeebeClientConfiguration {
1717 @ Value ("${zeebe.client.max-execution-threads}" )
1818 private int zeebeClientMaxThreads ;
1919
20+ @ Value ("${zeebe.client.poll-interval}" )
21+ private int zeebeClientPollInterval ;
22+
2023 @ Bean
2124 public ZeebeClient setup () {
2225 return ZeebeClient .newClientBuilder ().gatewayAddress (zeebeBrokerContactpoint ).usePlaintext ()
23- .defaultJobPollInterval (Duration .ofMillis (1 )).defaultJobWorkerMaxJobsActive (2000 )
26+ .defaultJobPollInterval (Duration .ofMillis (zeebeClientPollInterval )).defaultJobWorkerMaxJobsActive (2000 )
2427 .numJobWorkerExecutionThreads (zeebeClientMaxThreads ).build ();
2528 }
2629}
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ dfspids: "DFSPID"
1010
1111zeebe :
1212 client :
13- max-execution-threads : 1000
13+ max-execution-threads : 50
1414 evenly-allocated-max-jobs : 1000
15- # max-execution-threads: 100
15+ poll-interval : 10
1616# number-of-workers: 8
1717# evenly-allocated-max-jobs: "#{${zeebe.client.max-execution-threads} / ${zeebe.client.number-of-workers}}"
1818 broker :
You can’t perform that action at this time.
0 commit comments