Skip to content

Commit

Permalink
Add comments for pull-related RPC (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ai authored Jun 8, 2023
1 parent 205e59c commit 70eb1ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apache/rocketmq/v2/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,19 @@ service MessagingService {
rpc ForwardMessageToDeadLetterQueue(ForwardMessageToDeadLetterQueueRequest)
returns (ForwardMessageToDeadLetterQueueResponse) {}

// PullMessage and ReceiveMessage RPCs serve a similar purpose,
// which is to attempt to get messages from the server, but with different semantics.
rpc PullMessage(PullMessageRequest) returns (stream PullMessageResponse) {}

// Update the consumption progress of the designated queue of the
// consumer group to the remote.
rpc UpdateOffset(UpdateOffsetRequest) returns (UpdateOffsetResponse) {}

// Query the consumption progress of the designated queue of the
// consumer group to the remote.
rpc GetOffset(GetOffsetRequest) returns (GetOffsetResponse) {}

// Query the offset of the designated queue by the query offset policy.
rpc QueryOffset(QueryOffsetRequest) returns (QueryOffsetResponse) {}

// Commits or rollback one transactional message.
Expand Down

0 comments on commit 70eb1ef

Please sign in to comment.