-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queue_topology.xml queue declaration #26969
Comments
Hi @bartoszkubicki. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @bartoszkubicki do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Yes I can confirm that this issue is reproducible in vanilla magento instance. Some related issues may be fixed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Still an issue |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hi @bartoszkubicki , We have checked this issue on Magento version 2.4-develop but this is not reproducible. The issues mentioned in the ticket has been already merged with 2.4-develop. Please check the issue with the version 2.4-develop and let us know if you found any issue. |
Hello @bartoszkubicki ! |
Hi @bartoszkubicki, We are still waiting for your reply. Please confirm if you are still facing the issue in 2.4.x version. |
@engcom-Hotel I didn't have time recently to check it again. I am going to examine that in two next week, so you can reopen this one. |
Hi @bartoszkubicki, Have you got chance to try to reproduce the issue in 2.4.x version? Thanks |
Not yet, on my todo list |
Hello @bartoszkubicki, We have waited for your response regarding reproducing the issue in the 2.4-develop branch for more than 14 days, but we are not able to get a response. Hence we are closing this issue for now. If you still facing the issue, either you can reopen it or create a new ticket. Thanks |
Summary (*)
There are a few issues about queue declaration in file
queue_topology.xml
.First of all queues are side-effect of exchange and binding declaration. It is higly unintuituve. If we use lib laying underneath, we declare exchange, queue, and we bind them together, which is much more clear. It is worth noticing that queue, once declared can be bound to multiple exchanges, so it should be declared explicitly. It also limits queue configuration possibilities. You are not able to set arguments on queue level.
Secondly, taking first point into notice, if we have multiple bindings sharing same queue, which is declared with arguments, in the same file, we have to copy-paste around those arguments. If we won't do, it one definition of queue will be used, and arguments gets redeclared or even erased.
Merging definitions should be possible, but on module level.
Although, to start we following issues has to be fixed:
#26966
#26967
Examples (*)
If we would remove arguments section for binding
TestCreateJobRetry
, queuetest_create_job
is created without any arguments and whole set up won't work at all.This code works only if PRs attached to this issue will be fixed (I have patched it locally). For now arguments for queues are not used.
Proposed solution
Queues should be declared explicitly, so arguments are clear. I don't maybe, they even should have their separate xml. Maybe they also should be matched with unique id. Binding element will use queue id, so binding are created.
The text was updated successfully, but these errors were encountered: