{"action":"created","comment":{"url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/comments/40351273","id":40351273,"diff_hunk":"@@ -0,0 +1,41 @@\n+{\n+    \"name\": \"prooph/psb-zeromq-producer\",\n+    \"description\": \"ZeroMQ Message Producer for Prooph Service Bus\",\n+    \"homepage\": \"https://github.com/bweston92/psb-zeromq-producer\",\n+    \"license\": \"BSD-3-Clause\",\n+    \"authors\": [\n+        {\n+            \"name\": \"Bradley Weston\",","path":"composer.json","position":8,"original_position":8,"commit_id":"4e641d3cda35ad6b3fd732f90fabdf6db96b1309","original_commit_id":"4e641d3cda35ad6b3fd732f90fabdf6db96b1309","user":{"login":"prolic","id":394428,"avatar_url":"https://avatars.githubusercontent.com/u/394428?v=3","gravatar_id":"","url":"https://api.github.com/users/prolic","html_url":"https://github.com/prolic","followers_url":"https://api.github.com/users/prolic/followers","following_url":"https://api.github.com/users/prolic/following{/other_user}","gists_url":"https://api.github.com/users/prolic/gists{/gist_id}","starred_url":"https://api.github.com/users/prolic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolic/subscriptions","organizations_url":"https://api.github.com/users/prolic/orgs","repos_url":"https://api.github.com/users/prolic/repos","events_url":"https://api.github.com/users/prolic/events{/privacy}","received_events_url":"https://api.github.com/users/prolic/received_events","type":"User","site_admin":false},"body":"Please add @codeliner as author (even if he's not yet). He will provide support in future.","created_at":"2015-09-24T18:06:09Z","updated_at":"2015-09-24T18:06:09Z","html_url":"https://github.com/prooph/psb-zeromq-producer/pull/1#discussion_r40351273","pull_request_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/comments/40351273"},"html":{"href":"https://github.com/prooph/psb-zeromq-producer/pull/1#discussion_r40351273"},"pull_request":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1","id":45526539,"html_url":"https://github.com/prooph/psb-zeromq-producer/pull/1","diff_url":"https://github.com/prooph/psb-zeromq-producer/pull/1.diff","patch_url":"https://github.com/prooph/psb-zeromq-producer/pull/1.patch","issue_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/1","number":1,"state":"open","locked":false,"title":"[WIP] Initial release.","user":{"login":"bweston92","id":1764057,"avatar_url":"https://avatars.githubusercontent.com/u/1764057?v=3","gravatar_id":"","url":"https://api.github.com/users/bweston92","html_url":"https://github.com/bweston92","followers_url":"https://api.github.com/users/bweston92/followers","following_url":"https://api.github.com/users/bweston92/following{/other_user}","gists_url":"https://api.github.com/users/bweston92/gists{/gist_id}","starred_url":"https://api.github.com/users/bweston92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bweston92/subscriptions","organizations_url":"https://api.github.com/users/bweston92/orgs","repos_url":"https://api.github.com/users/bweston92/repos","events_url":"https://api.github.com/users/bweston92/events{/privacy}","received_events_url":"https://api.github.com/users/bweston92/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\n\r\nThis allows the Prooph Service Bus to use ZeroMQ to fire commands. ZeroMQ does not provide a query bus implementation but in the future that is something we could look at with the zero-rpc wrapper.\r\n\r\n#### Where should the reviewer start?\r\n\r\nYou will need a ZeroMQ server and a PHP installation with `ext-zmq`. There will soon be a Dockerfile which will pull the dependencies and run the tests.\r\n\r\n#### How should this be manually tested?\r\n\r\n1. Setup the ZeroMQ server.\r\n2. Add a consumer to the ZMQ server.\r\n3. Set the PSB adapter to use `Prooph\\ServiceBus\\Message\\ZeroMQ\\ZeroMQMessageProducer`\r\n4. Configure the ZMQ adapter, by adding the DSN required. (more doc later)\r\n5. Dispatch a command from the PSB.\r\n6. Check that the consumer gets the command.\r\n\r\n#### Any background context you want to provide?\r\n\r\nThere was an outstanding PSB requirement for the ZMQ adapter.\r\n\r\nThere are a few other implementations which inspired this implementation.\r\n- [psb-http-producer](https://github.com/prooph/psb-http-producer)\r\n- [psb-bernard-producer](https://github.com/prooph/psb-bernard-producer)\r\n\r\n#### Definition of Done:\r\n- [x] Tests are all passing.\r\n- [ ] Been tested with a live ZMQ server and consumer.\r\n- [ ] Dockerfile to run tests with all dependencies installed.\r\n- [ ] Travis-CI is able to run tests. (I believe it can use the Dockerfile)","created_at":"2015-09-21T09:07:18Z","updated_at":"2015-09-24T18:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a864a70a63e1680ce310d47dcb8f9f573187e708","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/1/comments","statuses_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/statuses/4e641d3cda35ad6b3fd732f90fabdf6db96b1309","head":{"label":"bweston92:master","ref":"master","sha":"4e641d3cda35ad6b3fd732f90fabdf6db96b1309","user":{"login":"bweston92","id":1764057,"avatar_url":"https://avatars.githubusercontent.com/u/1764057?v=3","gravatar_id":"","url":"https://api.github.com/users/bweston92","html_url":"https://github.com/bweston92","followers_url":"https://api.github.com/users/bweston92/followers","following_url":"https://api.github.com/users/bweston92/following{/other_user}","gists_url":"https://api.github.com/users/bweston92/gists{/gist_id}","starred_url":"https://api.github.com/users/bweston92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bweston92/subscriptions","organizations_url":"https://api.github.com/users/bweston92/orgs","repos_url":"https://api.github.com/users/bweston92/repos","events_url":"https://api.github.com/users/bweston92/events{/privacy}","received_events_url":"https://api.github.com/users/bweston92/received_events","type":"User","site_admin":false},"repo":{"id":42852935,"name":"psb-zeromq-producer","full_name":"bweston92/psb-zeromq-producer","owner":{"login":"bweston92","id":1764057,"avatar_url":"https://avatars.githubusercontent.com/u/1764057?v=3","gravatar_id":"","url":"https://api.github.com/users/bweston92","html_url":"https://github.com/bweston92","followers_url":"https://api.github.com/users/bweston92/followers","following_url":"https://api.github.com/users/bweston92/following{/other_user}","gists_url":"https://api.github.com/users/bweston92/gists{/gist_id}","starred_url":"https://api.github.com/users/bweston92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bweston92/subscriptions","organizations_url":"https://api.github.com/users/bweston92/orgs","repos_url":"https://api.github.com/users/bweston92/repos","events_url":"https://api.github.com/users/bweston92/events{/privacy}","received_events_url":"https://api.github.com/users/bweston92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bweston92/psb-zeromq-producer","description":"ZeroMQ Message Producer for Prooph Service Bus.","fork":true,"url":"https://api.github.com/repos/bweston92/psb-zeromq-producer","forks_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/forks","keys_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/teams","hooks_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/hooks","issue_events_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/issues/events{/number}","events_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/events","assignees_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/assignees{/user}","branches_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/branches{/branch}","tags_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/tags","blobs_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/git/refs{/sha}","trees_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/statuses/{sha}","languages_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/languages","stargazers_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/stargazers","contributors_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/contributors","subscribers_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/subscribers","subscription_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/subscription","commits_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/commits{/sha}","git_commits_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/git/commits{/sha}","comments_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/comments{/number}","issue_comment_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/issues/comments{/number}","contents_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/contents/{+path}","compare_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/merges","archive_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/downloads","issues_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/issues{/number}","pulls_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/pulls{/number}","milestones_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/milestones{/number}","notifications_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/labels{/name}","releases_url":"https://api.github.com/repos/bweston92/psb-zeromq-producer/releases{/id}","created_at":"2015-09-21T08:14:00Z","updated_at":"2015-09-21T08:34:22Z","pushed_at":"2015-09-24T17:40:39Z","git_url":"git://github.com/bweston92/psb-zeromq-producer.git","ssh_url":"git@github.com:bweston92/psb-zeromq-producer.git","clone_url":"https://github.com/bweston92/psb-zeromq-producer.git","svn_url":"https://github.com/bweston92/psb-zeromq-producer","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prooph:master","ref":"master","sha":"d261c0701cd5d19c80899d36293a58269e1a972f","user":{"login":"prooph","id":7341005,"avatar_url":"https://avatars.githubusercontent.com/u/7341005?v=3","gravatar_id":"","url":"https://api.github.com/users/prooph","html_url":"https://github.com/prooph","followers_url":"https://api.github.com/users/prooph/followers","following_url":"https://api.github.com/users/prooph/following{/other_user}","gists_url":"https://api.github.com/users/prooph/gists{/gist_id}","starred_url":"https://api.github.com/users/prooph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prooph/subscriptions","organizations_url":"https://api.github.com/users/prooph/orgs","repos_url":"https://api.github.com/users/prooph/repos","events_url":"https://api.github.com/users/prooph/events{/privacy}","received_events_url":"https://api.github.com/users/prooph/received_events","type":"Organization","site_admin":false},"repo":{"id":42542325,"name":"psb-zeromq-producer","full_name":"prooph/psb-zeromq-producer","owner":{"login":"prooph","id":7341005,"avatar_url":"https://avatars.githubusercontent.com/u/7341005?v=3","gravatar_id":"","url":"https://api.github.com/users/prooph","html_url":"https://github.com/prooph","followers_url":"https://api.github.com/users/prooph/followers","following_url":"https://api.github.com/users/prooph/following{/other_user}","gists_url":"https://api.github.com/users/prooph/gists{/gist_id}","starred_url":"https://api.github.com/users/prooph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prooph/subscriptions","organizations_url":"https://api.github.com/users/prooph/orgs","repos_url":"https://api.github.com/users/prooph/repos","events_url":"https://api.github.com/users/prooph/events{/privacy}","received_events_url":"https://api.github.com/users/prooph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prooph/psb-zeromq-producer","description":"ZeroMQ Message Producer for Prooph Service Bus.","fork":false,"url":"https://api.github.com/repos/prooph/psb-zeromq-producer","forks_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/forks","keys_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/teams","hooks_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/hooks","issue_events_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/events{/number}","events_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/events","assignees_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/assignees{/user}","branches_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/branches{/branch}","tags_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/tags","blobs_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/git/refs{/sha}","trees_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/statuses/{sha}","languages_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/languages","stargazers_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/stargazers","contributors_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/contributors","subscribers_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/subscribers","subscription_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/subscription","commits_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/commits{/sha}","git_commits_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/git/commits{/sha}","comments_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/comments{/number}","issue_comment_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/comments{/number}","contents_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/contents/{+path}","compare_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/merges","archive_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/downloads","issues_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues{/number}","pulls_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls{/number}","milestones_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/milestones{/number}","notifications_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/labels{/name}","releases_url":"https://api.github.com/repos/prooph/psb-zeromq-producer/releases{/id}","created_at":"2015-09-15T19:44:06Z","updated_at":"2015-09-21T20:41:47Z","pushed_at":"2015-09-24T17:40:39Z","git_url":"git://github.com/prooph/psb-zeromq-producer.git","ssh_url":"git@github.com:prooph/psb-zeromq-producer.git","clone_url":"https://github.com/prooph/psb-zeromq-producer.git","svn_url":"https://github.com/prooph/psb-zeromq-producer","homepage":null,"size":164,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1"},"html":{"href":"https://github.com/prooph/psb-zeromq-producer/pull/1"},"issue":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/1"},"comments":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/prooph/psb-zeromq-producer/statuses/4e641d3cda35ad6b3fd732f90fabdf6db96b1309"}}}}