Open andrewgazelka opened 1 month ago
probably not a defect. However, I did not know what to put this as.
Key difference is that they create different configs, e.g pull::Config
vs push::Config
, these give different implementations of the internals.
Pull example can probably be expanded to showcase fetch etc tho.
Key difference is that they create different configs, e.g
pull::Config
vspush::Config
, these give different implementations of the internals.Pull example can probably be expanded to showcase fetch etc tho.
ah I see... yea was hard for me to tell that was the difference but perhaps I did not look hard enough. wonder if this can be emphasized somehow.
I agree with both of you:
Observed behavior
https://github.com/nats-io/nats.rs/blob/main/async-nats/examples/jetstream_push.rs https://github.com/nats-io/nats.rs/blob/main/async-nats/examples/jetstream_pull.rs
are pretty much identical (from what I can tell)
Expected behavior
do not have duplicate examples (you should just have one)
Server and client version
not relevant
Host environment
No response
Steps to reproduce
No response