Skip to content

Added support for NATS JetStream#84799

Merged
antaljanosbenjamin merged 36 commits intoClickHouse:masterfrom
dmitry-sles-novikov:nats_jet_stream_support
Sep 10, 2025
Merged

Added support for NATS JetStream#84799
antaljanosbenjamin merged 36 commits intoClickHouse:masterfrom
dmitry-sles-novikov:nats_jet_stream_support

Conversation

@dmitry-sles-novikov
Copy link
Copy Markdown
Contributor

@dmitry-sles-novikov dmitry-sles-novikov commented Jul 31, 2025

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Users can now use NATS JetStream to consume messages by specifying the new settings of nats_stream and nats_consumer for the NATS engine.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

#39459

@antaljanosbenjamin antaljanosbenjamin added the can be tested Allows running workflows for external contributors label Jul 31, 2025
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Jul 31, 2025

Workflow [PR], commit [bdae3a3]

Summary:

job_name test_name status info comment
Upgrade check (amd_tsan) failure
Killed by signal (in clickhouse-server.log) FAIL
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL
Killed by signal (output files) FAIL
Found signal in gdb.log FAIL

@antaljanosbenjamin antaljanosbenjamin self-assigned this Jul 31, 2025
@clickhouse-gh clickhouse-gh bot added the pr-feature Pull request with new product feature label Jul 31, 2025
@dmitry-sles-novikov dmitry-sles-novikov changed the title Added support for NATS JetStream [WIP] Added support for NATS JetStream Aug 4, 2025
@dmitry-sles-novikov dmitry-sles-novikov changed the title [WIP] Added support for NATS JetStream Added support for NATS JetStream Aug 4, 2025
Copy link
Copy Markdown
Member

@antaljanosbenjamin antaljanosbenjamin left a comment

Choose a reason for hiding this comment

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

First of all, sorry for being late.

Second, it is looking great! There a few things and I haven't checked the tests yet, will check them tomorrow probably.

@dmitry-sles-novikov
Copy link
Copy Markdown
Contributor Author

@antaljanosbenjamin, Sorry, I accidentally requested a review.

@antaljanosbenjamin
Copy link
Copy Markdown
Member

I wasn't working until today, will have a look now.

@dmitry-sles-novikov
Copy link
Copy Markdown
Contributor Author

@antaljanosbenjamin I have finished the fixes and am ready to continue the review

Copy link
Copy Markdown
Member

@antaljanosbenjamin antaljanosbenjamin left a comment

Choose a reason for hiding this comment

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

I found one typo, after that I am fine to merge the PR. Sorry for asking to fix the typo, but it is in the name of a function and I just feel bad merging it as is. In a comment it would be perfectly fine, but for the function name I feel like I am not comfortable with it.

And I think you did a really great job here again, good PR, very patient with the reviews, so thanks for everything!

dmitry-sles-novikov and others added 2 commits August 29, 2025 12:36
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
@dmitry-sles-novikov
Copy link
Copy Markdown
Contributor Author

I think so too, typos definitely need to be fixed.
All comments were on point, and I completely agree with them, code of the test has become much better.

Thanks to you too =)))

@antaljanosbenjamin
Copy link
Copy Markdown
Member

antaljanosbenjamin commented Sep 8, 2025

Let me try to restart the the two integrations tests just to make sure they are not related in any way.

Edit: I couldn't restart only the two integration tests, I had to restart all failed jobs 🤷

@antaljanosbenjamin
Copy link
Copy Markdown
Member

Upgrade check (amd_tsan) didn't fail recently apart from this PR. I have to check it out in details, what caused the issue and why a memory limit exceeded exception caused a crash in CH. @dmitry-sles-novikov if yyou have any idea, please feel free to share it.

@dmitry-sles-novikov
Copy link
Copy Markdown
Contributor Author

dmitry-sles-novikov commented Sep 9, 2025

Is Upgrade check (amd_tsan) the same problem as #81144?

Edit: In this PR test failed too

@antaljanosbenjamin
Copy link
Copy Markdown
Member

You are right, I messed up something.

@antaljanosbenjamin antaljanosbenjamin added this pull request to the merge queue Sep 10, 2025
@antaljanosbenjamin
Copy link
Copy Markdown
Member

Thanks again, great job!

Merged via the queue into ClickHouse:master with commit 7760f14 Sep 10, 2025
232 of 240 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 10, 2025
@dmitry-sles-novikov dmitry-sles-novikov deleted the nats_jet_stream_support branch September 10, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-feature Pull request with new product feature pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants