Skip to content

Commit b1b2d94

Browse files
authored
fix: update side-input readme (numaproj#194)
Signed-off-by: Sidhant Kohli <[email protected]>
1 parent ea799ef commit b1b2d94

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

examples/sideinput/simple_sideinput/README.md

+25-6
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,28 @@ Side input spec:
4343
```yaml
4444
spec:
4545
sideInputs:
46-
- name: vertex
47-
udf:
48-
container:
49-
....
50-
sideInputs:
51-
- myticker
46+
- name: myticker
47+
container:
48+
image: "quay.io/numaio/numaflow-python/sideinput-example:stable"
49+
imagePullPolicy: Always
50+
trigger:
51+
schedule: "*/2 * * * *"
52+
53+
```
54+
55+
Vertex spec for the UDF vertex:
56+
```yaml
57+
vertices:
58+
.....
59+
- name: si-log
60+
udf:
61+
container:
62+
image: "quay.io/numaio/numaflow-python/udf-sideinput-example:stable"
63+
imagePullPolicy: Always
64+
containerTemplate:
65+
env:
66+
- name: NUMAFLOW_DEBUG
67+
value: "true" # DO NOT forget the double quotes!!!
68+
sideInputs:
69+
- myticker
70+
```

0 commit comments

Comments
 (0)