Adding ** PYTHONUNBUFFERED=1** makes python script print out to stdout
without buffering.
Previously this was fixed with a python flag but that was not called
when python was used as a script.
This resolve the previous issue.
uv is an altermative to pip and offer better performance as well as
being written in Rust it makes dora ecosystem in python with ruff fully
rust based which increase the overall security and deployability of
dora.
The daemon tries to connect to the coordinator before it starts up.
During that time, it didn't listen for ctrl-c signals yet. This commit
fixes this limitation by checking for ctrl-c events during the event
stream setup too.
Alternative to https://github.com/dora-rs/dora/pull/749
The daemon tries to connect to the coordinator before it starts up. During that time, it didn't listen for ctrl-c signals yet. This commit fixes this limitation by checking for ctrl-c events during the event stream setup too.
Runs a dataflow locally, without requiring any any daemon or coordinator
processes. Multi-machine dataflows are not supported. The default log
level is set to `INFO`, overwriting it is possible by setting the
`RUST_LOG` environment variable.
This exposes the internal `dora daemon --run-dataflow` command that we
use for testing.
This addition was proposed in
https://github.com/orgs/dora-rs/discussions/698#discussioncomment-11125465
.
The second commit adds a ctrl-c handler. On first ctrl-c, we send a stop
command to all nodes. On second ctrl-c, we exit immediately and kill all
spawned nodes. On third ctrl-c, we abort the process directly without
waiting (child processes keep running).
Make `dora-message` a dependency of `dora-core`, instead of the other way around. This way, we can continue to freely bump the version of `dora-core` with the other workspace crates, without introducing errors such as #708.
On first ctrl-c, send a stop command to all nodes. On second ctrl-c, exit immediately and kill all spawned nodes. On third ctrl-c, abort the process directly without waiting (child processes keep running).
This change affects both `dora run` and `dora daemon` commands.