{"action":"created","issue":{"url":"https://api.github.com/repos/Yolean/kafka-cache/issues/19","repository_url":"https://api.github.com/repos/Yolean/kafka-cache","labels_url":"https://api.github.com/repos/Yolean/kafka-cache/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Yolean/kafka-cache/issues/19/comments","events_url":"https://api.github.com/repos/Yolean/kafka-cache/issues/19/events","html_url":"https://github.com/Yolean/kafka-cache/issues/19","id":361694535,"node_id":"MDU6SXNzdWUzNjE2OTQ1MzU=","number":19,"title":"Enabling a kafka producer seems to result in invincible processes","user":{"login":"atamon","id":1445876,"node_id":"MDQ6VXNlcjE0NDU4NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1445876?v=4","gravatar_id":"","url":"https://api.github.com/users/atamon","html_url":"https://github.com/atamon","followers_url":"https://api.github.com/users/atamon/followers","following_url":"https://api.github.com/users/atamon/following{/other_user}","gists_url":"https://api.github.com/users/atamon/gists{/gist_id}","starred_url":"https://api.github.com/users/atamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atamon/subscriptions","organizations_url":"https://api.github.com/users/atamon/orgs","repos_url":"https://api.github.com/users/atamon/repos","events_url":"https://api.github.com/users/atamon/events{/privacy}","received_events_url":"https://api.github.com/users/atamon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-19T11:04:10Z","updated_at":"2018-09-19T17:47:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"At least they won't shutdown by themselves, so someone has to force them.\r\n\r\nMinimal repro:\r\n```js\r\nconst KakfaCache = require('kafka-cache');\r\n\r\nprocess.on('unhandledRejection', (err, p) => {\r\n  console.error(err);\r\n  console.error(p);\r\n  if (err.message === 'This should shut shit down!') process.exit(0);\r\n  else process.exit(1);\r\n});\r\n\r\nasync function run() {\r\n\r\n  const cache = KakfaCache.create({\r\n    kafkaHost: 'kafka:9092',\r\n    topic: 'foobar',\r\n    readOnly: false\r\n  });\r\n\r\n  await cache.onReady();\r\n\r\n  throw new Error('This should shut shit down!');\r\n}\r\n\r\nrun();\r\n```"},"comment":{"url":"https://api.github.com/repos/Yolean/kafka-cache/issues/comments/422896209","html_url":"https://github.com/Yolean/kafka-cache/issues/19#issuecomment-422896209","issue_url":"https://api.github.com/repos/Yolean/kafka-cache/issues/19","id":422896209,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg5NjIwOQ==","user":{"login":"solsson","id":144945,"node_id":"MDQ6VXNlcjE0NDk0NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/144945?v=4","gravatar_id":"","url":"https://api.github.com/users/solsson","html_url":"https://github.com/solsson","followers_url":"https://api.github.com/users/solsson/followers","following_url":"https://api.github.com/users/solsson/following{/other_user}","gists_url":"https://api.github.com/users/solsson/gists{/gist_id}","starred_url":"https://api.github.com/users/solsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solsson/subscriptions","organizations_url":"https://api.github.com/users/solsson/orgs","repos_url":"https://api.github.com/users/solsson/repos","events_url":"https://api.github.com/users/solsson/events{/privacy}","received_events_url":"https://api.github.com/users/solsson/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T17:47:02Z","updated_at":"2018-09-19T17:47:02Z","author_association":"CONTRIBUTOR","body":"Invincible or invisible, or maybe inappropriate or inconvenient or indefinite? "}}
{"actor":{"display_login":"solsson"}}