PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of DeGraciaMathieu   Proto x Bus   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Proto x Bus
Manage queues of messages using protocol buffers
Author: By
Last change:
Date: 1 month ago
Size: 560 bytes
 

Contents

Class file image Download

proto-x-bus

qdsqdsqdqsdq

Creating prototypes :

protoc --proto_path=proto/ --php_out=worker/Protos game.proto
protoc --proto_path=proto/ --php_out=consumer/Protos game.proto

Starting bus :

docker run -d -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack

Creating queue :

aws --endpoint-url=http://localhost:4566 --region us-east-1 sqs create-queue --queue-name testing-queue

Usage :

php worker/src/run.php
php consumer/src/run.php