We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2597b8 commit 2ba7150Copy full SHA for 2ba7150
apache/rocketmq/v2/definition.proto
@@ -596,4 +596,19 @@ enum QueryOffsetPolicy {
596
597
// Use this option if time-based seek is targeted.
598
TIMESTAMP = 2;
599
+}
600
+
601
+message OffsetOption {
602
+ oneof offset_type {
603
+ Policy policy = 1;
604
+ int64 offset = 2;
605
+ int64 tail_n = 3;
606
+ int64 timestamp = 4;
607
+ }
608
609
+ enum Policy {
610
+ LAST = 0;
611
+ MIN = 1;
612
+ MAX = 2;
613
614
}
apache/rocketmq/v2/service.proto
@@ -329,6 +329,7 @@ message SyncLiteSubscriptionRequest {
329
// lite subscription set of lite topics
330
repeated string lite_topic_set = 4;
331
optional int64 version = 5;
332
+ optional OffsetOption offset_option = 6;
333
334
335
message SyncLiteSubscriptionResponse {
0 commit comments