Skip to content

Conversation

@caspervonb
Copy link
Collaborator

No description provided.

Signed-off-by: Casper Beyer <casper@synadia.com>
@caspervonb caspervonb requested a review from Copilot October 24, 2025 10:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the allow_batch configuration option to the StreamConfig class, enabling atomic batch publishing functionality introduced in nats-server 2.12.0.

  • Added allow_batch field to StreamConfig class as an optional boolean
  • Added comprehensive test coverage for the new allow_batch configuration option

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
nats/src/nats/js/api.py Added allow_batch field to StreamConfig class with documentation
nats/tests/test_js.py Added test case test_stream_allow_batch to verify allow_batch behavior with True, False, and default (None) values

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Casper Beyer <casper@synadia.com>
@caspervonb caspervonb requested a review from Copilot October 28, 2025 12:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@caspervonb caspervonb requested a review from wallyqs October 28, 2025 13:01
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