command
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Dec 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
EvenOdd
An example User Defined Function that checks if the input message is an integer, and returns it with even
or odd
key, otherwise drops it.
This can be used to demonstrate how to do Conditional Forwarding.
apiVersion: numaflow.numaproj.io/v1alpha1
kind: Pipeline
metadata:
name: even-odd
spec:
vertices:
- name: in
source:
http: {}
- name: even-or-odd
udf:
container:
image: quay.io/numaio/go-even-odd-example
- name: even-sink
sink:
log: {}
- name: odd-sink
sink:
log: {}
edges:
- from: in
to: even-or-odd
- from: even-or-odd
to: even-sink
conditions:
keyIn:
- even
- from: even-or-odd
to: odd-sink
conditions:
keyIn:
- odd
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.