Skip to content
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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

[draft] NATS #2

wants to merge 8 commits into from

Conversation

AyWa
Copy link
Owner

@AyWa AyWa commented Aug 6, 2023

Description

  • Nats jetstream in docker compose (so we can use normal nats, and jetstream later)
  • skelleton
  • simple implementation (jetstream disable so no ack etc -> at most once garantee)

In different PR:

  • add test for nats

  • implementation with jetstream (need to do ack etc -> at least once)

@AyWa AyWa assigned sravan-s and AyWa Aug 7, 2023
@sravan-s sravan-s force-pushed the feat/nats branch 3 times, most recently from 45256cf to 1eaa9a0 Compare August 12, 2023 13:24
#[serde(deny_unknown_fields)]
pub struct NatsSourceParams {
/// The subject that the source consumes.
pub subject: String,
Copy link
Collaborator

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

Copy link
Owner Author

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

Copy link
Collaborator

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?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// The subject that the source consumes.
pub subject: String,
/// The connection URI for NATS.
pub address: Vec<String>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants