{"action":"created","issue":{"url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/10","labels_url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/10/comments","events_url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/10/events","html_url":"https://github.com/softwaremill/reactive-kafka/issues/10","id":86649580,"number":10,"title":"System.exit in case of an exception in KafkaProducer","user":{"login":"yveshauser","id":831284,"avatar_url":"https://avatars.githubusercontent.com/u/831284?v=3","gravatar_id":"","url":"https://api.github.com/users/yveshauser","html_url":"https://github.com/yveshauser","followers_url":"https://api.github.com/users/yveshauser/followers","following_url":"https://api.github.com/users/yveshauser/following{/other_user}","gists_url":"https://api.github.com/users/yveshauser/gists{/gist_id}","starred_url":"https://api.github.com/users/yveshauser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yveshauser/subscriptions","organizations_url":"https://api.github.com/users/yveshauser/orgs","repos_url":"https://api.github.com/users/yveshauser/repos","events_url":"https://api.github.com/users/yveshauser/events{/privacy}","received_events_url":"https://api.github.com/users/yveshauser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T16:03:53Z","updated_at":"2015-06-10T07:16:23Z","closed_at":null,"body":"https://github.com/softwaremill/reactive-kafka/blame/master/src/main/scala/kafka/producer/KafkaProducer.scala#L93\r\n\r\nCould you handle exceptions in the producer other than System.exit?"},"comment":{"url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/comments/110627212","html_url":"https://github.com/softwaremill/reactive-kafka/issues/10#issuecomment-110627212","issue_url":"https://api.github.com/repos/softwaremill/reactive-kafka/issues/10","id":110627212,"user":{"login":"kciesielski","id":1413553,"avatar_url":"https://avatars.githubusercontent.com/u/1413553?v=3","gravatar_id":"","url":"https://api.github.com/users/kciesielski","html_url":"https://github.com/kciesielski","followers_url":"https://api.github.com/users/kciesielski/followers","following_url":"https://api.github.com/users/kciesielski/following{/other_user}","gists_url":"https://api.github.com/users/kciesielski/gists{/gist_id}","starred_url":"https://api.github.com/users/kciesielski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kciesielski/subscriptions","organizations_url":"https://api.github.com/users/kciesielski/orgs","repos_url":"https://api.github.com/users/kciesielski/repos","events_url":"https://api.github.com/users/kciesielski/events{/privacy}","received_events_url":"https://api.github.com/users/kciesielski/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T07:16:23Z","updated_at":"2015-06-10T07:16:23Z","body":"This part of code comes from another library: https://github.com/stealthly/scala-kafka/blob/master/src/main/scala/KafkaProducer.scala, I guess I missed this weird `System.exit()` from the beginning.\r\nThanks for pointing that out, there are obviously better ways to handle this ;)"}}