set_route_label
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets route labels.
For example, nodes udf 1 and udf 2 are deployed on device 1 and device 2, respectively, and each node has two outputs (out 0 and out 1). If you want to send each group of out 0 and out 1 to the same device, you need to set the same route_label for the two output flowmsgs.
Prototype
1 | set_route_label(self, route_label) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
route_label |
Input |
Label of the route. The value 0 indicates that the label is not used. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: Class FlowMsg