Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors are reported when a pipeline is not created #2013

Open
ramonacat opened this issue Oct 19, 2022 · 1 comment
Open

No errors are reported when a pipeline is not created #2013

ramonacat opened this issue Oct 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ramonacat
Copy link
Collaborator

Problem

Steps

  1. Put this in a .troy file:
define flow main
flow
  define connector console from stdio
  with
    preprocessors = ["separate"],
    postprocessors = ["separate"],
    codec = "string"
  end;

  define pipeline dumb
  pipeline
    select event from in into out;
  end;


  create connector console from console;

  connect /connector/console/out to /pipeline/dumb/in;
  connect /pipeline/dumb/out to /connector/console/in;
end
  1. run with cargo run -- server run my.troy
  2. Observe lack of error (note the pipeline is defined, but not created).

Possible Solution(s)

Notes
Latest version from main branch.

Output of rustup --version:
Output of rustup show:
Output of tremor --version:

@ramonacat ramonacat added the bug Something isn't working label Oct 19, 2022
@ramonacat
Copy link
Collaborator Author

After a bit of investigation: It seems like the flow was not deployed. It would be useful if server run complained if no flows are deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant