Skip to content
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

Feature -- Message Queue #686

Merged
merged 17 commits into from
Jul 27, 2018
Merged

Feature -- Message Queue #686

merged 17 commits into from
Jul 27, 2018

Conversation

bryonbean
Copy link
Contributor

No description provided.

$consumer = new Consumer($router, new EventDispatcher());
$consumer->consume($factory->create('do-submit'));
$submission_service->register($queue);
$queue->consume($submission_service->getConsumerName(), ['max-runtime' => 0.1]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zackgalbreath let's discuss; I'm curious how we want to implement in a production environment.

Copy link
Contributor

@zackgalbreath zackgalbreath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's test this out in the wild before merging to make sure it works as intended.

@bryonbean
Copy link
Contributor Author

+1

* 5. Produce the message (send it to the queue)
* $queue->produce($message);
*
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for thoroughly documenting all the ins and outs of naming your own queue.

@zackgalbreath zackgalbreath changed the title WIP: Feature -- Message Queue Feature -- Message Queue Jul 27, 2018
@zackgalbreath zackgalbreath merged commit 0d1b1df into master Jul 27, 2018
@zackgalbreath zackgalbreath deleted the bean/sqs branch July 27, 2018 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants