QuestionQ29

VerifiedStore Operations and Admin

An Adobe Commerce Architect observes that queue consumers close TCP connections too frequently on an Adobe Commerce Cloud server, causing delays in message processing.

The Architect must ensure that consumers do not terminate after processing the available queue messages when a CRON job runs those consumers.

How should the Architect satisfy this requirement?

Explanation

On Adobe Commerce Cloud, setting CONSUMERS_WAIT_FOR_MAX_MESSAGES to true causes consumers to wait for additional messages when the queue becomes empty and to terminate only after reaching the max_messages value configured in CRON_CONSUMERS_RUNNER. This avoids repeated TCP connection closures caused by consumers ending as soon as the currently available messages are processed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!