Skip to content

THRIFT-6015: Add Ruby multiplexed default processor#3504

Merged
kpumuk merged 1 commit into
apache:masterfrom
kpumuk:rb-test-multi
May 21, 2026
Merged

THRIFT-6015: Add Ruby multiplexed default processor#3504
kpumuk merged 1 commit into
apache:masterfrom
kpumuk:rb-test-multi

Conversation

@kpumuk
Copy link
Copy Markdown
Member

@kpumuk kpumuk commented May 20, 2026

Adding the default fallback service capability to multiplex processors as discussed after introducing the multiplex protocol in THRIFT-1915.

multiplexed_processor = Thrift::MultiplexedProcessor.new
multiplexed_processor.register_default(MyService::LegacyProcessor.new(handler))
multiplexed_processor.register_processor('MyService', MyService::Processor.new(handler))

This functionality is already present in Java, C++, Python, Go, Rust, Swift, Perl, Haxe, C GLib (but seem to be missing from NodeJS, .NET, PHP). It is also being tested by multi* family in cross-tests.

Additionally, I removed the separate group for Ruby from cross-tests, as with UUID support implemented a while ago it is not longer needed.

  • Did you create an Apache Jira ticket? THRIFT-6015
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@kpumuk kpumuk requested review from Jens-G, fishy and jimexist as code owners May 20, 2026 19:48
@mergeable mergeable Bot added ruby Pull requests that update Ruby code testsuite github_actions Pull requests that update GitHub Actions code labels May 20, 2026
@kpumuk kpumuk merged commit 0b81d57 into apache:master May 21, 2026
89 of 90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code ruby Pull requests that update Ruby code testsuite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant