Skip to content

Conversation

@f1amingo
Copy link
Contributor

@f1amingo f1amingo commented Jan 22, 2026

This PR adds an optional suspend field to ChangeInvisibleDurationRequest.
When set to true, the server will not increment the retry count for the message, allowing it to be suspended and redelivered at the specified time without affecting retry statistics.
This is useful for scenarios requiring temporary message suspension without consuming retry quotas.
The change is backward compatible.


optional string lite_topic = 6;
// If true, server will not increment the retry times for this message
optional bool is_suspend = 7;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议用 is 开头,就 suspend 就可以了

…suspend

Change-Id: Id871c4ef46b415ee5eab534d8567575aed2d6923
@f1amingo f1amingo changed the title Add is_suspend field to ChangeInvisibleDurationRequest for lite consume suspend Add suspend field to ChangeInvisibleDurationRequest for lite consume suspend Jan 22, 2026
Change-Id: I812b8c929a3b99640bb33a30ad23eaf6e5d50ad1
@lizhimins lizhimins merged commit 68c2cc9 into apache:main Jan 27, 2026
1 check passed
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.

3 participants