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

[ADDED] KV implementation in new JetStream API #1362

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

piotrpio
Copy link
Collaborator

@piotrpio piotrpio commented Aug 4, 2023

This PR adds the KV implementation to new JetStream API.

This implementation uses ordered push consumer from legacy API to avoid breaking changes in subject permissions. Most of the implementation stays the same, but the API changed to be more in-line with the rest of jetstream package (e.g. using context).

@piotrpio piotrpio requested a review from Jarema August 4, 2023 12:28
@piotrpio piotrpio force-pushed the port-kv-and-os-to-jetstream branch from 69db83a to 6fbc297 Compare August 4, 2023 12:39
@piotrpio piotrpio force-pushed the port-kv-and-os-to-jetstream branch 2 times, most recently from 29f6aee to 1572cd8 Compare August 15, 2023 13:40
@piotrpio piotrpio marked this pull request as ready for review August 15, 2023 15:01
@Jarema
Copy link
Member

Jarema commented Aug 15, 2023

There are some errors in CI that should be addressed.

Signed-off-by: Piotr Piotrowski <[email protected]>
@piotrpio piotrpio force-pushed the port-kv-and-os-to-jetstream branch from 1572cd8 to d5f5861 Compare August 15, 2023 15:02
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.

Just few small nits.

jetstream/errors.go Outdated Show resolved Hide resolved
jetstream/options.go Outdated Show resolved Hide resolved
piotrpio and others added 2 commits August 17, 2023 15:37
Co-authored-by: Tomasz Pietrek <[email protected]>
Co-authored-by: Tomasz Pietrek <[email protected]>
@piotrpio piotrpio force-pushed the port-kv-and-os-to-jetstream branch from 1fc2581 to 7d25175 Compare August 21, 2023 06:53
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

@piotrpio piotrpio merged commit 3af379d into main Aug 25, 2023
@piotrpio piotrpio deleted the port-kv-and-os-to-jetstream branch August 25, 2023 10:56
piotrpio added a commit that referenced this pull request Aug 25, 2023
piotrpio added a commit that referenced this pull request Aug 28, 2023
@piotrpio piotrpio mentioned this pull request Sep 13, 2023
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.

2 participants