Skip to content

[Issue] honor queue_consumer.xml maxMessages #29522

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #28995: honor queue_consumer.xml maxMessages


Summary (*)

Magento 2.4-develop
The maxMessages="100" attribute in app/code/Magento/MediaStorage/etc/queue_consumer.xml for instance is not being used. Instead only deployment configuration is used.

Examples (*)

  1. install vanilla Magento and run pgrep -fl queue:consumers:start
  2. see that all consumers have --max-messages=10000
  3. apply the PR
  4. run pkill -f queue:consumers:start
  5. wait for cron to restart the consumers
  6. see that the values from queue_consumer.xml are used with a fallback and max of the deployment config or 10000 if that is not set.

Proposed solution

Metadata

Metadata

Assignees

Labels

Component: MessageQueueFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions