Skip to content

Conversation

@f1amingo
Copy link
Contributor

Change-Id: Icca22d58883c467e74c357e4f7d7aaa719f2e524

Which Issue(s) This PR Fixes

Fixes #1150

Brief Description

Introduce a new method to the LitePushConsumer interface: subscribeLite(String liteTopic, OffsetOption offsetOption).

This allows the SDK to specify the starting consumption offset when subscribing to a lite topic.

How Did You Test This Change?

Unit Test.

Change-Id: Icca22d58883c467e74c357e4f7d7aaa719f2e524
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 74.19355% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.42%. Comparing base (4076e2b) to head (9511100).
⚠️ Report is 79 commits behind head on master.

Files with missing lines Patch % Lines
...lient/java/impl/consumer/LitePushConsumerImpl.java 74.19% 7 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1151      +/-   ##
============================================
+ Coverage     53.26%   53.42%   +0.16%     
- Complexity      651      743      +92     
============================================
  Files           208      216       +8     
  Lines         14303    14331      +28     
  Branches       5845     5560     -285     
============================================
+ Hits           7619     7657      +38     
+ Misses         6308     6271      -37     
- Partials        376      403      +27     
Flag Coverage Δ
java 61.40% <74.19%> (-0.29%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lizhimins lizhimins changed the title [Feature] Java OffsetOption for subscribeLite [ISSUE #1150] [Java] Support OffsetOption for subscribeLite Dec 29, 2025
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.

[Feature] Java OffsetOption for subscribeLite

2 participants