Skip to content

Commit

Permalink
feat: ISB(jetstream) writer framework (#2160)
Browse files Browse the repository at this point in the history
Signed-off-by: Vigith Maurice <[email protected]>
Signed-off-by: Yashash H L <[email protected]>
Co-authored-by: Yashash H L <[email protected]>
  • Loading branch information
vigith and yhl25 authored Oct 16, 2024
1 parent f81062c commit 3d6e47f
Show file tree
Hide file tree
Showing 18 changed files with 1,190 additions and 37 deletions.
37 changes: 36 additions & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions rust/numaflow-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name = "numaflow-core"
version = "0.1.0"
edition = "2021"

[features]
nats-tests = []
all-tests = ["nats-tests"]

[dependencies]
axum = "0.7.5"
axum-server = { version = "0.7.1", features = ["tls-rustls"] }
Expand Down Expand Up @@ -37,6 +41,7 @@ kube = "0.95.0"
log = "0.4.22"
futures = "0.3.30"
pin-project = "1.1.5"
async-nats = "0.37.0"

[dev-dependencies]
tempfile = "3.11.0"
Expand Down
8 changes: 7 additions & 1 deletion rust/numaflow-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ pub enum Error {
#[error("Config Error - {0}")]
Config(String),

#[error("ServerInfoError Error - {0}")]
#[error("ServerInfo Error - {0}")]
ServerInfo(String),

#[error("Proto Error - {0}")]
Proto(String),

#[error("ISB Error - {0}")]
ISB(String),

#[error("OneShot Receiver Error - {0}")]
ActorPatternRecv(String),
}
Expand Down
5 changes: 5 additions & 0 deletions rust/numaflow-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ mod transformer;

/// Reads from a stream.
mod reader;

/// [Pipeline]
///
/// [Pipeline]: https://numaflow.numaproj.io/core-concepts/pipeline/
mod pipeline;
Loading

0 comments on commit 3d6e47f

Please sign in to comment.