Skip to content

Commit

Permalink
Merge pull request #86 from qianye1001/qianye-main
Browse files Browse the repository at this point in the history
[ISSUE #85] Add MESSAGE_BODY_EMPTY Code.
  • Loading branch information
lollipopjin authored Nov 5, 2024
2 parents 70eb1ef + d7b3714 commit 37bcee2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apache/rocketmq/v2/definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ enum Code {
PAYLOAD_TOO_LARGE = 41300;
// Message body size exceeds the threshold.
MESSAGE_BODY_TOO_LARGE = 41301;
// Message body is empty.
MESSAGE_BODY_EMPTY = 41302;

// Generic code for use cases where pre-conditions are not met.
// For example, if a producer instance is used to publish messages without prior start() invocation,
Expand Down

0 comments on commit 37bcee2

Please sign in to comment.