poorbarcode opened a new pull request, #17783:
URL: https://github.com/apache/pulsar/pull/17783

   ### Motivation
   
   `FilterResult.RESCHEDULE` is a beta API, may be risky in the following 
scenarios:
   
   - Use subscription type: `Shared`: `consumer_1` can consume 40% of the 
messages, `consumer_2` can consume 40% of the messages, and no consumer can 
consume the remaining 20%. If this 20% of the messages always return 
`FilterResult.RESCHEDULE`, this will cause that part of the message to always 
be redelivered and never consumed.
   - Use subscription type: `Key_Shared/Exclusive/Failover`: This API cannot be 
used because there is no spare consumer to consume the redelivered message.
   
   ### Modifications
   
   Make `FilterResult.RESCHEDULE` to `deprecated` to avoid user use.
   
   
   ### Documentation
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [ ] `doc-not-needed` 
   (Please explain why)
   
   - [x] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   
   ### Matching PR in forked repository
   
   PR in forked repository: 1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to