Skip to content

Commit

Permalink
fix: update side-input readme (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: Sidhant Kohli <[email protected]>
  • Loading branch information
kohlisid authored Oct 16, 2024
1 parent ea799ef commit b1b2d94
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions examples/sideinput/simple_sideinput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,28 @@ Side input spec:
```yaml
spec:
sideInputs:
- name: vertex
udf:
container:
....
sideInputs:
- myticker
- name: myticker
container:
image: "quay.io/numaio/numaflow-python/sideinput-example:stable"
imagePullPolicy: Always
trigger:
schedule: "*/2 * * * *"

```

Vertex spec for the UDF vertex:
```yaml
vertices:
.....
- name: si-log
udf:
container:
image: "quay.io/numaio/numaflow-python/udf-sideinput-example:stable"
imagePullPolicy: Always
containerTemplate:
env:
- name: NUMAFLOW_DEBUG
value: "true" # DO NOT forget the double quotes!!!
sideInputs:
- myticker
```

0 comments on commit b1b2d94

Please sign in to comment.