feat(java): add async API parity with blocking client (#2716)#2718
Open
atharvalade wants to merge 3 commits intoapache:masterfrom
Open
feat(java): add async API parity with blocking client (#2716)#2718atharvalade wants to merge 3 commits intoapache:masterfrom
atharvalade wants to merge 3 commits intoapache:masterfrom
Conversation
…he#2654) Remove all DependsOn attributes from 11 test files. Each test now creates its own resources with unique names via Guid.NewGuid(), ensuring full isolation and eliminating ordering dependencies. Delete 16 unused fixture, helper, and model files that were only needed by the old DependsOn-based test structure.
Adds 17 missing async methods across System, PersonalAccessTokens, Partitions, ConsumerOffsets, and ConsumerGroups clients. Fixes apache#2716
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2718 +/- ##
=============================================
- Coverage 69.04% 43.94% -25.10%
- Complexity 0 585 +585
=============================================
Files 571 170 -401
Lines 55525 4037 -51488
Branches 55525 265 -55260
=============================================
- Hits 38336 1774 -36562
+ Misses 15315 2199 -13116
+ Partials 1874 64 -1810
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
ex172000
reviewed
Feb 11, 2026
foreign/java/java-sdk/src/main/java/org/apache/iggy/client/async/ConsumerOffsetsClient.java
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #2716
Rationale
The async TCP client was missing 17 methods that existed in the blocking client, limiting its usability for async workflows.
What changed?
The async TCP client only exposed 5 of 9 sub-client interfaces (Messages, ConsumerGroups, Streams, Topics, Users), and ConsumerGroupsClient had only 2 of 6 methods. This left 17 methods unavailable for async operations.
Added 4 new async client interfaces (SystemClient, PersonalAccessTokensClient, PartitionsClient, ConsumerOffsetsClient) with full TCP implementations, and extended ConsumerGroupsClient with 4 missing methods (get, getAll, create, delete). All async methods follow the existing pattern using CompletableFuture and match the blocking client API exactly.
Local Execution
AI Usage