This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
feat(messenger): Add Symfony Messenger integration #56
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
k911
added
kind/feature
New feature or request
status/wip
Work in progress
area/symfony-bundle
area/http-server
priority/important
area/config
labels
May 8, 2019
src/Bridge/Symfony/Messenger/SwooleServerTaskTransportFactory.php
Outdated
Show resolved
Hide resolved
src/Bridge/Symfony/Messenger/SwooleServerTaskTransportFactory.php
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## develop #56 +/- ##
=============================================
+ Coverage 84.73% 85.05% +0.32%
- Complexity 468 502 +34
=============================================
Files 67 77 +10
Lines 1448 1526 +78
=============================================
+ Hits 1227 1298 +71
- Misses 221 228 +7
Continue to review full report at Codecov.
|
k911
force-pushed
the
feature/symfony-messenger
branch
from
June 6, 2019 20:46
4ffe654
to
e32e73e
Compare
k911
force-pushed
the
feature/symfony-messenger
branch
2 times, most recently
from
June 6, 2019 21:10
00fa63c
to
65906f8
Compare
Asynchronously dispatch messages using Symfony Messanger API and Swoole inter-process communication (Swoole task) without serialization. Notice: Symfony messenger `messenger:consume-messages` command is not supported. Dispatched messages are handled in task worker processes of Swoole server. Usage: 1. Install `symfony/messenger` package via composer 2. Enable task workers inside configuration Example: ```yaml # config/packages/swoole.yaml swoole: http_server: ... settings: ... task_worker_count: auto ``` 3. Configure swoole messenger transport Example: ```yaml # config/packages/messenger.yaml framework: messenger: transports: swoole: swoole://task routing: '*': swoole ``` 4. (optional) Follow official [symfony messenger guide](https://symfony.com/doc/current/messenger.html) to define message object and its handler Relates to #4
k911
force-pushed
the
feature/symfony-messenger
branch
from
June 6, 2019 21:32
65906f8
to
1dd01ba
Compare
Code Climate has analyzed commit 1dd01ba and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 84.8% (50% is the threshold). This pull request will bring the total coverage in the repository to 85.2% (0.2% change). View more on Code Climate. |
k911
pushed a commit
that referenced
this pull request
Aug 11, 2019
## (2019-08-11) * docs: Add bug report template (#61) ([45aa20e](45aa20e)), closes [#61](#61) * docs: Add contributing guide (#58) ([f49f159](f49f159)), closes [#58](#58) * docs: Add feature request template (#62) ([a7dbbe1](a7dbbe1)), closes [#62](#62) * docs: Create Code of Conduct (#60) ([e185638](e185638)), closes [#60](#60) * docs(messenger): Add documentation about Symfony Messenger integration (#64) ([37d18bc](37d18bc)), closes [#64](#64) * docs(readme): Add build matrix ([35d88ad](35d88ad)) * ci: Add composer option '--ignore-platform-reqs' to CI Jobs ([f0c2b73](f0c2b73)) * chore(composer): Upgrade dependencies (#59) ([49b75b4](49b75b4)), closes [#59](#59) * feat(messenger): Add Symfony Messenger integration (#56) ([d136313](d136313)), closes [#56](#56) [#4](#4)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area/config
area/http-server
area/symfony-bundle
kind/feature
New feature or request
priority/important
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Asynchronously dispatch messages using Symfony Messanger API and Swoole inter-process communication (Swoole task) without serialization.
Notice: Symfony messenger
messenger:consume-messages
command is not supported. Dispatched messages are handled in task worker processes of Swoole server viaSwoole\Server->task()
interface, and thus cannot be dispatched in independent PHP process.Usage:
Install
symfony/messenger
package via composerEnable task workers inside configuration
Example:
Configure swoole messenger transport
Example:
(optional) Follow official symfony messenger guide to define message object and its handler
Relates to #4