{"action":"created","issue":{"url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1609","repository_url":"https://api.github.com/repos/zeebe-io/zeebe","labels_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1609/labels{/name}","comments_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1609/comments","events_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1609/events","html_url":"https://github.com/zeebe-io/zeebe/pull/1609","id":376301274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTQ4NDAw","number":1609,"title":"refactor(broker-core): merge stream processors into one","user":{"login":"Zelldon","id":2758593,"node_id":"MDQ6VXNlcjI3NTg1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2758593?v=4","gravatar_id":"","url":"https://api.github.com/users/Zelldon","html_url":"https://github.com/Zelldon","followers_url":"https://api.github.com/users/Zelldon/followers","following_url":"https://api.github.com/users/Zelldon/following{/other_user}","gists_url":"https://api.github.com/users/Zelldon/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelldon/subscriptions","organizations_url":"https://api.github.com/users/Zelldon/orgs","repos_url":"https://api.github.com/users/Zelldon/repos","events_url":"https://api.github.com/users/Zelldon/events{/privacy}","received_events_url":"https://api.github.com/users/Zelldon/received_events","type":"User","site_admin":false},"labels":[{"id":389377389,"node_id":"MDU6TGFiZWwzODkzNzczODk=","url":"https://api.github.com/repos/zeebe-io/zeebe/labels/needs%20review","name":"needs review","color":"e6e6e6","default":false}],"state":"open","locked":false,"assignee":{"login":"Zelldon","id":2758593,"node_id":"MDQ6VXNlcjI3NTg1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2758593?v=4","gravatar_id":"","url":"https://api.github.com/users/Zelldon","html_url":"https://github.com/Zelldon","followers_url":"https://api.github.com/users/Zelldon/followers","following_url":"https://api.github.com/users/Zelldon/following{/other_user}","gists_url":"https://api.github.com/users/Zelldon/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelldon/subscriptions","organizations_url":"https://api.github.com/users/Zelldon/orgs","repos_url":"https://api.github.com/users/Zelldon/repos","events_url":"https://api.github.com/users/Zelldon/events{/privacy}","received_events_url":"https://api.github.com/users/Zelldon/received_events","type":"User","site_admin":false},"assignees":[{"login":"Zelldon","id":2758593,"node_id":"MDQ6VXNlcjI3NTg1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2758593?v=4","gravatar_id":"","url":"https://api.github.com/users/Zelldon","html_url":"https://github.com/Zelldon","followers_url":"https://api.github.com/users/Zelldon/followers","following_url":"https://api.github.com/users/Zelldon/following{/other_user}","gists_url":"https://api.github.com/users/Zelldon/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelldon/subscriptions","organizations_url":"https://api.github.com/users/Zelldon/orgs","repos_url":"https://api.github.com/users/Zelldon/repos","events_url":"https://api.github.com/users/Zelldon/events{/privacy}","received_events_url":"https://api.github.com/users/Zelldon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-01T08:37:58Z","updated_at":"2018-11-06T14:48:28Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1609","html_url":"https://github.com/zeebe-io/zeebe/pull/1609","diff_url":"https://github.com/zeebe-io/zeebe/pull/1609.diff","patch_url":"https://github.com/zeebe-io/zeebe/pull/1609.patch"},"body":" * Created an stream processor service, which adds all event processors and install the typed stream processor, besides the incident stream processor. The incident processors will be added in a later PR.\r\n * Created new classes in each processor package, with static methods to add the EventProcessors. This makes it easier to test the different processors.\r\n * The states of the processors are merged into one. The `ZeebeState` is a composite state, of all other and the only remaining state controller. I hope this make this also easier for the refactoring in #1195 . This means we will have only one RocksDb instance per partition, which should be good.\r\n * The other states are no longer state controller, but impl. the `StateLifecycleListener` so they are called after the ZbRocksDB was opened. In the state controller the `ZbRocksDb` is used, instead of the RocksDb instance.\r\n * For the single processor only one KeyGenerator is needed, after merging the incident stream processor I will work on #1387 to iterate over the KeyGenerator.\r\n * Refactored a bit the JobProcessors and move them in outer classes.\r\n\r\ncloses #1571\r\ncloses #1572\r\n"},"comment":{"url":"https://api.github.com/repos/zeebe-io/zeebe/issues/comments/436278219","html_url":"https://github.com/zeebe-io/zeebe/pull/1609#issuecomment-436278219","issue_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1609","id":436278219,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjI3ODIxOQ==","user":{"login":"bors[bot]","id":26634292,"node_id":"MDM6Qm90MjY2MzQyOTI=","avatar_url":"https://avatars3.githubusercontent.com/in/1847?v=4","gravatar_id":"","url":"https://api.github.com/users/bors%5Bbot%5D","html_url":"https://github.com/apps/bors","followers_url":"https://api.github.com/users/bors%5Bbot%5D/followers","following_url":"https://api.github.com/users/bors%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/bors%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/bors%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/bors%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/bors%5Bbot%5D/repos","events_url":"https://api.github.com/users/bors%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/bors%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-06T14:48:28Z","updated_at":"2018-11-06T14:48:28Z","author_association":"CONTRIBUTOR","body":"# Build succeeded\n  * [continuous-integration/jenkins/branch](https://hq2.camunda.com/jenkins/zeebe/job/zeebe/job/staging/298/display/redirect)"}}
{"actor":{"display_login":"bors"}}