Skip to content

Commit

Permalink
refactor into Publisher struct, add payload size checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lostman committed Jun 18, 2024
1 parent df26fa6 commit 4074306
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 238 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions crates/fuel-core-nats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ description = "Fuel library to handle data streams using Nats"
[dependencies]
anyhow = "1.0.86"
async-nats = "0.35.1"
bytes = "1.6.0"
clap = "4.5.4"
fuel-core = { workspace = true }
fuel-core-bin = { workspace = true }
Expand Down
5 changes: 5 additions & 0 deletions crates/fuel-core-nats/nats.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

jetstream = {
max_file_store = 21474836480
}
max_payload = 8388608
Loading

0 comments on commit 4074306

Please sign in to comment.