Java SDK: expose deleteConsumerOffset
Maintainers usually reply within 2 days
@vansh-nagar is already working on this.
Since Oct 3, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 82/100
Research direction
Start with serde/CommandCode.java and the existing getConsumerOffset methods in the blocking and async ConsumerOffsetsClient interfaces and TCP/HTTP clients. Add the API and implementations following getConsumerOffset, then update ConsumerOffsetsClientBaseTest.java to store, delete, and verify an empty offset. Done means the base test passes for both TCP and HTTP clients.
Written by the indexing model from the issue text.
Description
The Rust client has ConsumerOffsetClient::delete_consumer_offset (core/common/src/traits/consumer_offset_client.rs). The Java SDK has storeConsumerOffset and getConsumerOffset, but not delete.
What to do
- Add
DELETE(122)to theConsumerOffsetenum inserde/CommandCode.java. The VSR operation is already mapped inVsrOperation.java. - Add
deleteConsumerOffsetto the blocking and asyncConsumerOffsetsClientinterfaces, with the same arguments asgetConsumerOffsetand no return value. - Implement it in the TCP clients (
client/async/tcp/ConsumerOffsetsTcpClient.java,client/blocking/tcp/ConsumerOffsetsTcpClient.java) and the HTTP client (client/blocking/http/ConsumerOffsetsHttpClient.java), followinggetConsumerOffset. - Add a test to
ConsumerOffsetsClientBaseTest.javathat stores an offset, deletes it, and checks thatgetConsumerOffsetthen returns empty. The base test runs for both TCP and HTTP.
Done when
The new test passes for both the TCP and HTTP clients.
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 548
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 194
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/iggy
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
good first issue java test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
good first issue javascript test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
Similar issues
-
bug triaged tui ux wontfix
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
bevyengine/bevy#26642 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day