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

Add advisories for pull consumer groups #299

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

ripienaar
Copy link
Contributor

No description provided.

@ripienaar ripienaar requested a review from Jarema August 1, 2024 06:58
adr/ADR-42.md Outdated Show resolved Hide resolved
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

Some minor comments

adr/ADR-42.md Outdated
const JSStreamGroupPinnedAdvisoryType = "io.nats.jetstream.advisory.v1.consumer_group_pinned"

// JSStreamGroupPinnedAdvisory that a group switched to a new pinned client
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// JSStreamGroupPinnedAdvisory that a group switched to a new pinned client
// JSStreamGroupPinnedAdvisory indicates that a group switched to a new pinned client

adr/ADR-42.md Show resolved Hide resolved
adr/ADR-42.md Show resolved Hide resolved
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

We are also missing the Advisory subject from the PR.

JSAdvisoryConsumerPinnedPre`` = "$JS.EVENT.ADVISORY.CONSUMER.PINNED
JSAdvisoryConsumerUnpinnedPre = "$JS.EVENT.ADVISORY.CONSUMER.UNPINNED

?

adr/ADR-42.md Outdated Show resolved Hide resolved
adr/ADR-42.md Outdated Show resolved Hide resolved
@ripienaar ripienaar requested a review from Jarema August 12, 2024 12:08
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

LGTM

@ripienaar ripienaar merged commit be9778b into main Aug 12, 2024
1 check passed
@ripienaar ripienaar deleted the pinned_advisories branch August 12, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants