{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1420","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1420/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1420/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1420/events","html_url":"https://github.com/strongloop/loopback/issues/1420","id":82599112,"number":1420,"title":"Change Server","user":{"login":"ritch","id":462228,"avatar_url":"https://avatars.githubusercontent.com/u/462228?v=3","gravatar_id":"","url":"https://api.github.com/users/ritch","html_url":"https://github.com/ritch","followers_url":"https://api.github.com/users/ritch/followers","following_url":"https://api.github.com/users/ritch/following{/other_user}","gists_url":"https://api.github.com/users/ritch/gists{/gist_id}","starred_url":"https://api.github.com/users/ritch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritch/subscriptions","organizations_url":"https://api.github.com/users/ritch/orgs","repos_url":"https://api.github.com/users/ritch/repos","events_url":"https://api.github.com/users/ritch/events{/privacy}","received_events_url":"https://api.github.com/users/ritch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T21:43:34Z","updated_at":"2015-05-29T21:43:34Z","closed_at":null,"body":"**loopback-change-server**\r\n\r\nHandles connections from `ChangeStream` clients. Hooks models for changes.\r\nWrites changes to the `ChangeStream` and applies changes from clients `PersistedModel` APIs.\r\n\r\n```js\r\nvar changeServer = new ChangeServer({\r\n  server: server,\r\n  app: app,\r\n  // broker info\r\n  host: 'my.broker.com',\r\n  port: 3333,\r\n  protocol: 'mqtt', // default, also supports redis\r\n  // defaults to all \"public\" models\r\n  models: ['Contact', 'User']\r\n});\r\n```"}}