{ "id": "pipeline_with_structs", "target": "x86-64-unknown-linux-gnu", "mode": "debug", "nodes": [ { "id": "node_1", "parallelism": 1, "kind": { "Source": { "source_type": { "Scalar": "U32" }, "successors": [ { "Local": { "id": "node_2" } } ], "kind": { "Socket": { "addr": "127.0.0.1:5002", "kind": "udp"} } } } }, { "id": "node_2", "parallelism": 1, "kind": { "Task": { "input_type": { "Scalar": "U32" }, "output_type": { "Struct": { "id": "MyStruct", "field_tys" : [ { "Scalar": "U32" }, { "Scalar": "U32" } ] } }, "weld_code": "|x: u32| {x, 10}", "successors": [ { "Local": { "id": "node_3" } } ], "predecessor": "node_1", "kind": "Map" } } }, { "id": "node_3", "parallelism": 1, "kind": { "Sink": { "sink_type": { "Struct": { "id": "MyStruct", "field_tys" : [ { "Scalar": "U32" }, { "Scalar": "I32" } ] } }, "predecessor": "node_2", "kind": { "Socket": { "addr": "127.0.0.1:9500", "kind": "udp"} } } } } ] }