Skip to content

Commit

Permalink
Apply IDL update
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ai committed Oct 13, 2022
1 parent acedaf7 commit 259cd6e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/resources/proto/apache/rocketmq/v2/definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,16 @@ message SystemProperties {
// orphan. Servers that manages orphan messages would pick up
// a capable publisher to resolve
optional google.protobuf.Duration orphaned_transaction_recovery_duration = 19;

// Information to identify whether this message is from dead letter queue.
optional DeadLetterQueue dead_letter_queue = 20;
}

message DeadLetterQueue {
// Original topic for this DLQ message.
string topic = 1;
// Original message id for this DLQ message.
string message_id = 2;
}

message Message {
Expand Down Expand Up @@ -333,6 +343,8 @@ enum Code {
MESSAGE_CORRUPTED = 40016;
// Request is rejected due to missing of x-mq-client-id header.
CLIENT_ID_REQUIRED = 40017;
// Polling time is illegal.
ILLEGAL_POLLING_TIME = 40018;

// Generic code indicates that the client request lacks valid authentication
// credentials for the requested resource.
Expand Down

0 comments on commit 259cd6e

Please sign in to comment.