QuestionQ45

VerifiedConfigure all aspects of Adobe Commerce Cloud

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

The Architect must ensure that, when a CRON job runs these consumers, they do not terminate after processing the messages currently available in the queue.

How should the Architect fulfill this requirement?

Explanation

For Adobe Commerce Cloud consumers run by the cron consumer runner, setting CONSUMERS_WAIT_FOR_MAX_MESSAGES to true makes consumers wait for additional queue messages when the queue becomes empty before they reach the configured max_messages limit. They therefore keep their TCP connections open instead of terminating after the currently available messages are processed.

Learn more

Community Discussion

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