-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[draft] NATS #2
base: main
Are you sure you want to change the base?
[draft] NATS #2
Conversation
45256cf
to
1eaa9a0
Compare
#[serde(deny_unknown_fields)] | ||
pub struct NatsSourceParams { | ||
/// The subject that the source consumes. | ||
pub subject: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was checking how people subscribe to multiple subjects ->
nats-io/nats-server#2515
nats-io/nats-server#3500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess lets support that when it is implemented in nats
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we dont need to do anything..
But, anyways ~ do you know their branching strategy with dev
branch(?) probably dev is for v3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, its for next minor version -> 2.10
probably
/// The subject that the source consumes. | ||
pub subject: String, | ||
/// The connection URI for NATS. | ||
pub address: Vec<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.rs/async-nats/0.31.0/async_nats/fn.connect.html#with-vec-but-parse-urls-inside-crateconnect this seems to be straightforward?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
Description
In different PR:
add test for nats
implementation with jetstream (need to do ack etc -> at least once)