feat(async-queue): add result handling for job processing by huangdijia · Pull Request #7601 · hyperf/hyperf

added 8 commits

November 6, 2025 17:21
- Added Result enum with ACK, REQUEUE, and DROP states
- Modified Driver to handle different job processing results
- Updated JobInterface to support return values
- Enhanced message acknowledgment logic based on job return values

This allows jobs to control their processing outcome:
- Return Result::ACK to acknowledge and remove from queue
- Return Result::REQUEUE to retry the job
- Return Result::DROP to remove without retry
- Default behavior maintains backward compatibility

limingxinleo

@huangdijia huangdijia deleted the feature/async-queue-result-handling branch

November 6, 2025 09:55