This PR contains a bunch of improvements regarding the creation of an Arcon application.
Removes:
AssembledApplication
arcon attr requirement on #[derive(Arcon)]
unsafe_flight feature
Introduces:
ApplicationBuilder
Extension traits ToStreamExt, ToSinkExt, and ToBuilderExt
#[tokio::main] inspired app macro
naivé sink type
You no longer create streams from an Application struct. Users can convert types that implement ToStreamExt into a Stream<T> type and then later turn it into a sink type.
This PR contains a bunch of improvements regarding the creation of an Arcon application.
Removes:
#[derive(Arcon)]
Introduces:
ToStreamExt
,ToSinkExt
, andToBuilderExt
#[tokio::main]
inspired app macroYou no longer create streams from an Application struct. Users can convert types that implement
ToStreamExt
into aStream<T>
type and then later turn it into a sink type.Using app macro
Without app macro