Skip to content

Commit

Permalink
fix: update side-input readme
Browse files Browse the repository at this point in the history
Signed-off-by: Sidhant Kohli <sidhant.kohli@gmail.com>
  • Loading branch information
kohlisid committed Oct 15, 2024
1 parent ea799ef commit c09b5fe
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 c09b5fe

Please sign in to comment.