Browse Source

Split rust operators into single operator

We currently have a legacy limitation to only allow one operator per runtime
and it would be better to bake that into the template for now.
tags/v0.2.0-rc
haixuanTao 2 years ago
parent
commit
2b40407d21
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      binaries/cli/src/template/rust/dataflow-template.yml

+ 4
- 4
binaries/cli/src/template/rust/dataflow-template.yml View File

@@ -3,16 +3,16 @@ communication:
prefix: /___name___ prefix: /___name___


nodes: nodes:
- id: runtime-node_1
operators:
- id: op_1
- id: op_1
operator:
build: cargo build -p op_1 build: cargo build -p op_1
shared-library: target/debug/op_1 shared-library: target/debug/op_1
inputs: inputs:
tick: dora/timer/millis/100 tick: dora/timer/millis/100
outputs: outputs:
- some-output - some-output
- id: op_2
- id: op_2
operator:
build: cargo build -p op_2 build: cargo build -p op_2
shared-library: target/debug/op_2 shared-library: target/debug/op_2
inputs: inputs:


Loading…
Cancel
Save