Skip to content

Commit

Permalink
chore: revert examples + add session (#1648)
Browse files Browse the repository at this point in the history
Signed-off-by: Vigith Maurice <[email protected]>
  • Loading branch information
vigith authored Apr 6, 2024
1 parent a3ca256 commit 5f33361
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions examples/10-cycle-to-prev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
container:
# This will try each message up to 3 times before continuing, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/retry
# (a more realistic example might retry only on failure)
image: quay.io/numaio/numaflow-go/map-retry:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-retry:v0.6.1
- name: out
scale:
min: 1
Expand All @@ -42,4 +42,4 @@ spec:
tags:
operator: not
values:
- retry
- retry
4 changes: 2 additions & 2 deletions examples/10-cycle-to-self.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
container:
# This will try each message up to 3 times before continuing, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/retry
# (a more realistic example might retry only on failure)
image: quay.io/numaio/numaflow-go/map-retry:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-retry:v0.6.1
- name: out
scale:
min: 1
Expand All @@ -36,4 +36,4 @@ spec:
tags:
operator: not
values:
- retry
- retry
2 changes: 1 addition & 1 deletion examples/11-join-on-reduce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
udf:
container:
# Compute the sum, see https://github.com/numaproj/numaflow-go/tree/main/pkg/reducer/examples/sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.0
groupBy:
window:
fixed:
Expand Down
2 changes: 1 addition & 1 deletion examples/11-join-on-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/even_odd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.0
- name: even-cat
udf:
builtin:
Expand Down
2 changes: 1 addition & 1 deletion examples/2-even-odd-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/even_odd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.0
- name: even-sink
scale:
min: 1
Expand Down
4 changes: 2 additions & 2 deletions examples/6-reduce-fixed-window-with-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/even_odd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.1
- name: compute-sum
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:stable
groupBy:
window:
fixed:
Expand Down
4 changes: 2 additions & 2 deletions examples/6-reduce-fixed-window.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/even_odd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.1
- name: compute-sum
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.1
groupBy:
window:
fixed:
Expand Down
4 changes: 2 additions & 2 deletions examples/7-reduce-sliding-window.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/mapper/examples/even_odd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.0
- name: reduce-sliding
partitions: 2
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.0
groupBy:
window:
sliding:
Expand Down
8 changes: 4 additions & 4 deletions examples/8-reduce-complex-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ spec:
udf:
container:
# Tell the input number is even or odd, see https://github.com/numaproj/numaflow-go/tree/main/pkg/function/examples/evenodd
image: quay.io/numaio/numaflow-go/map-even-odd:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/map-even-odd:v0.6.0
- name: keyed-fixed-sum
partitions: 2
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.0
groupBy:
window:
fixed:
Expand All @@ -37,7 +37,7 @@ spec:
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.0
groupBy:
window:
fixed:
Expand All @@ -51,7 +51,7 @@ spec:
udf:
container:
# compute the sum
image: quay.io/numaio/numaflow-go/reduce-sum:v0.7.0-rc1
image: quay.io/numaio/numaflow-go/reduce-sum:v0.6.0
groupBy:
window:
sliding:
Expand Down

0 comments on commit 5f33361

Please sign in to comment.