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
huangdijia
deleted the
feature/async-queue-result-handling
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters