Implement crash-safe streaming worker runtime
This commit is contained in:
parent
16cba3c317
commit
cdeef3cc1a
1 changed files with 7448 additions and 194 deletions
|
|
@ -1,5 +1,22 @@
|
|||
mod client;
|
||||
mod descriptor;
|
||||
mod error;
|
||||
mod executor;
|
||||
mod runtime;
|
||||
|
||||
pub use client::WorkerApiClient;
|
||||
pub use descriptor::{DescriptorStore, migrate, migrator};
|
||||
pub use error::WorkerError;
|
||||
pub use executor::{AdapterExecutor, ObjectSourceEndpoint};
|
||||
pub use runtime::{
|
||||
AttemptContext, AttemptExecution, AttemptExecutor, ExecutionFailure, WorkerConfig,
|
||||
WorkerRunOutcome, WorkerRuntime,
|
||||
};
|
||||
|
||||
pub const COMPONENT_NAME: &str = "remora-worker";
|
||||
|
||||
use client::{incarnation_id, operation_id};
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::COMPONENT_NAME;
|
||||
|
|
|
|||
Loading…
Reference in a new issue