Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shyim/FroshAMQP
[WIP] Use AMQP Queue for Elastic Search Backlog Syncing
https://github.com/shyim/FroshAMQP
Last synced: 3 months ago
JSON representation
[WIP] Use AMQP Queue for Elastic Search Backlog Syncing
- Host: GitHub
- URL: https://github.com/shyim/FroshAMQP
- Owner: shyim
- License: mit
- Archived: true
- Created: 2018-11-20T22:18:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T22:20:18.000Z (almost 6 years ago)
- Last Synced: 2024-05-20T15:12:32.743Z (6 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# FroshAMQP
[![Join the chat at https://gitter.im/FriendsOfShopware/Lobby](https://badges.gitter.im/FriendsOfShopware/Lobby.svg)](https://gitter.im/FriendsOfShopware/Lobby)
Use AMQP Queue for Elastic Search Backlog Syncing.
## Requirements
- Shopware 5.5
- AMQP Server (like RabbitMQ)## Installation
- Download latest release
- Extract the zip file in `shopware_folder/custom/plugins/`### Configure AMQP Host in ``config.php``
```php
'amqp' => [
'host' => 'rabbitmq',
'username' => 'foo',
'password' => 'bar',
'port' => '5672'
]
```## Usage
After the activation of the Plugin all backlogs will be send to the AMQP Server. You can start the worker with `./bin/console frosh:es:backend:worker` and `frosh:es:worker`.
**You should consider creating systemd services for these two workers**
## Implement more Queue's?
Publish the message using the `SimpleMessagePublisher`, create a new Command, extend it from `AbstractWorkerCommand` and implement the `processMessage` method
## Contributing
Feel free to fork and send pull requests!
## Licence
This project uses the [MIT License](LICENCE.md).