You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: conditional forwarding in Async Dataplane (#2668)
Signed-off-by: Vigith Maurice <vigith@gmail.com>
Signed-off-by: Yashash H L <yashashhl25@gmail.com>
Co-authored-by: Yashash H L <yashashhl25@gmail.com>
Copy file name to clipboardExpand all lines: docs/user-guide/reference/conditional-forwarding.md
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,31 @@ Below is a list of different logic operations that can be done on tags.
7
7
-**or** - forwards the message if one of the tags specified is present in Message's tags.
8
8
-**not** - forwards the message if all the tags specified are not present in Message's tags.
9
9
10
-
For example, there's a UDF used to process numbers, and forward the result to different vertices based on the number is even or odd. In this case, you can set the `tag` to `even-tag` or `odd-tag` in each of the returned messages,
10
+
For example, there's a UDF used to process numbers, and forward the result to different vertices based on the number is
11
+
even or odd. In this case, you can set the `tag` to `even-tag` or `odd-tag` in each of the returned messages,
11
12
and define the edges as below:
12
13
14
+
## Default Behavior
15
+
16
+
* If no `conditions` are specified in the spec, the message will be forwarded to all the downstream vertices (independent
17
+
of the `tags` in the `Messages`).
18
+
* In the code, if the `Messages` are not tagged but conditions are configured, we will still honour the edge conditions.
0 commit comments