-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Messenger] Fix some syntax issue #20687
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
Conversation
I think this is an oversight, because for Amazon SQS transport, the I've also noticed that the option |
Maxime, thanks for reviewing this. I've added some content based on the docs of these services. But, I have no experience in this, so please review it. Thanks! |
I have little experience in this and I'm not familiar with this transports, especially as there can be differences depending on the type of transport. In my opinion and according to my research, it looks good but I'm not sure. Need review for the |
I don't think we added anything to the transport options – what was added was support for How SQS works with bin/console messenger:consume --keepalive=10 async framework:
messenger:
transports:
async: 'sqs://...?visibility_timeout=15' Every 10 seconds, for all the messages that are still being processed, the visibility of a message is re-set to When using This mechanism allows to keep |
messenger.rst
Outdated
@@ -1713,6 +1713,10 @@ The Beanstalkd transport DSN may looks like this: | |||
|
|||
The transport has a number of options: | |||
|
|||
``keepalive`` (default: none) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default keepalive interval is actually 5 seconds. When the option is used without an explicit value, it activates the keepalive mechanism with that default value. You can optionally set a different interval by providing a value for the option.
Ok, I just noticed that this was added to the list of transport options. @valtzu is right, there were no options added to the transports themselves, only to the |
Thanks a lot folks! I now understand this. I made some changes based on your comments. |
Thanks a lot for explaining this, I understand better. |
b984abb
to
7c70485
Compare
In addition to the syntax issue, there's another pending issue: which option does it refer to? I can't see the
keepalive
option in the list of options above it.So, is the option missing ... or should we delete this
versionadded
directive?