You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bindings/zeebe/jobworker/metadata.yaml
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,10 @@ metadata:
20
20
type: string
21
21
- name: gatewayKeepAlive
22
22
required: false
23
-
description: Sets how often keep alive messages should be sent to the gateway. Defaults to 45 seconds
23
+
description: Sets how often keep alive messages should be sent to the gateway.
24
24
example: "45s"
25
25
type: duration
26
+
default: "45s"
26
27
- name: usePlainTextConnection
27
28
required: false
28
29
description: Whether to use a plain text connection or not
@@ -40,39 +41,44 @@ metadata:
40
41
type: string
41
42
- name: workerTimeout
42
43
required: false
43
-
description: A job returned after this call will not be activated by another call until the timeout has been reached; defaults to 5 minutes
44
+
description: A job returned after this call will not be activated by another call until the timeout has been reached.
44
45
example: "5m"
45
46
type: duration
46
47
- name: requestTimeout
47
48
required: false
48
49
description: The request will be completed when at least one job is activated or after the requestTimeout. If the requestTimeout = 0, a default timeout is used. If the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated. Defaults to 10 seconds
49
50
example: "30s"
50
51
type: duration
52
+
default: "10s"
51
53
- name: jobType
52
54
required: true
53
55
description: the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type=\"fetch-products\" />)
54
56
example: "fetch-products"
55
57
type: string
56
58
- name: maxJobsActive
57
59
required: false
58
-
description: Set the maximum number of jobs which will be activated for this worker at the same time. Defaults to 32
60
+
description: Set the maximum number of jobs which will be activated for this worker at the same time.
59
61
example: "32"
60
62
type: number
63
+
default: "32"
61
64
- name: concurrency
62
65
required: false
63
-
description: The maximum number of concurrent spawned goroutines to complete jobs. Defaults to 4
66
+
description: The maximum number of concurrent spawned goroutines to complete jobs.
64
67
example: "4"
68
+
default: "4"
65
69
type: number
66
70
- name: pollInterval
67
71
required: false
68
-
description: Set the maximal interval between polling for new jobs. Defaults to 100 milliseconds
72
+
description: Set the maximal interval between polling for new jobs.
69
73
example: "100ms"
70
74
type: duration
75
+
default: "100ms"
71
76
- name: pollThreshold
72
77
required: false
73
-
description: Set the threshold of buffered activated jobs before polling for new jobs, i.e. threshold * maxJobsActive. Defaults to 0.3
78
+
description: Set the threshold of buffered activated jobs before polling for new jobs, i.e. threshold * maxJobsActive.
74
79
example: "0.3"
75
80
type: number
81
+
default: "0.3"
76
82
- name: fetchVariables
77
83
required: false
78
84
description: A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
0 commit comments