{"action":"closed","issue":{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io/issues/338","repository_url":"https://api.github.com/repos/deepstreamIO/deepstream.io","labels_url":"https://api.github.com/repos/deepstreamIO/deepstream.io/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/deepstreamIO/deepstream.io/issues/338/comments","events_url":"https://api.github.com/repos/deepstreamIO/deepstream.io/issues/338/events","html_url":"https://github.com/deepstreamIO/deepstream.io/issues/338","id":173610266,"number":338,"title":"Feature Request - Listener Groups","user":{"login":"ronag","id":3065230,"avatar_url":"https://avatars.githubusercontent.com/u/3065230?v=3","gravatar_id":"","url":"https://api.github.com/users/ronag","html_url":"https://github.com/ronag","followers_url":"https://api.github.com/users/ronag/followers","following_url":"https://api.github.com/users/ronag/following{/other_user}","gists_url":"https://api.github.com/users/ronag/gists{/gist_id}","starred_url":"https://api.github.com/users/ronag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronag/subscriptions","organizations_url":"https://api.github.com/users/ronag/orgs","repos_url":"https://api.github.com/users/ronag/repos","events_url":"https://api.github.com/users/ronag/events{/privacy}","received_events_url":"https://api.github.com/users/ronag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-27T18:58:30Z","updated_at":"2016-08-29T08:11:43Z","closed_at":"2016-08-29T08:11:43Z","body":"Looking at the #211 feature it seems like any record can only have one listener. Which is a great first step!\r\n\r\nHowever, I would like to take it further and be able to register a pattern + group name listener, i.e. I can have two different types of listeners working on the same record but providing different behaviours, e.g. composition, indexing, heartbeat etc... this is especially useful when working in a micro service based infrastructure.\r\n\r\nSomething like:\r\n\r\n```javascript\r\nds.record.listen('^foo/*', 'elasticsearch', (match, isSubscribed, response) => ...)\r\nds.record.listen('^foo/*', 'solr', (match, isSubscribed, response) => ...)\r\n```"}}
{"actor":{"display_login":"yasserf"}}