forked from numaproj/numaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path13-accumulator-window.yaml
More file actions
47 lines (47 loc) · 905 Bytes
/
13-accumulator-window.yaml
File metadata and controls
47 lines (47 loc) · 905 Bytes
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
apiVersion: numaflow.numaproj.io/v1alpha1
kind: Pipeline
metadata:
name: simple-accumulator
spec:
limits:
readBatchSize: 1
vertices:
- name: http-one
scale:
min: 1
max: 1
source:
http: {}
- name: http-two
scale:
min: 1
max: 1
source:
http: {}
- name: accum
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/stream-sorter:stable
imagePullPolicy: Always
groupBy:
window:
accumulator:
timeout: 10s
keyed: true
storage:
persistentVolumeClaim:
volumeSize: 1Gi
- name: sink
scale:
min: 1
max: 1
sink:
log: {}
edges:
- from: http-one
to: accum
- from: http-two
to: accum
- from: accum
to: sink