{"action":"created","issue":{"url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/165","repository_url":"https://api.github.com/repos/wurstmeister/kafka-docker","labels_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/165/comments","events_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/165/events","html_url":"https://github.com/wurstmeister/kafka-docker/issues/165","id":205665693,"number":165,"title":"'A broker is already registered' issue","user":{"login":"imochurad","id":4730629,"avatar_url":"https://avatars1.githubusercontent.com/u/4730629?v=4","gravatar_id":"","url":"https://api.github.com/users/imochurad","html_url":"https://github.com/imochurad","followers_url":"https://api.github.com/users/imochurad/followers","following_url":"https://api.github.com/users/imochurad/following{/other_user}","gists_url":"https://api.github.com/users/imochurad/gists{/gist_id}","starred_url":"https://api.github.com/users/imochurad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imochurad/subscriptions","organizations_url":"https://api.github.com/users/imochurad/orgs","repos_url":"https://api.github.com/users/imochurad/repos","events_url":"https://api.github.com/users/imochurad/events{/privacy}","received_events_url":"https://api.github.com/users/imochurad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-06T18:14:03Z","updated_at":"2018-03-11T20:05:01Z","closed_at":null,"author_association":"NONE","body":"This problem happens every other time on the start up. \r\nIn order to resolve this I have to run: \r\n\r\n`docker-compose kill`\r\n\r\nAnd then start it again.\r\n\r\nContainer version:\r\n`wurstmeister/kafka       0.10.0.1            81e882f835b2        5 months ago        261 MB`\r\n\r\n```\r\nkafka_1      | [2017-01-27 21:47:15,462] FATAL [Kafka Server 1001], Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)\r\nkafka_1      | java.lang.RuntimeException: A broker is already registered on the path /brokers/ids/1001. This probably indicates that you either have configured a brokerid that is already in use, or else you have shutdown this broker and restarted it faster than the zookeeper timeout so it appears to be re-registering.\r\nkafka_1      |     at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:305)\r\nkafka_1      |     at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:291)\r\nkafka_1      |     at kafka.server.KafkaHealthcheck.register(KafkaHealthcheck.scala:70)\r\n```"},"comment":{"url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/comments/372144611","html_url":"https://github.com/wurstmeister/kafka-docker/issues/165#issuecomment-372144611","issue_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/165","id":372144611,"user":{"login":"sscaling","id":1625151,"avatar_url":"https://avatars1.githubusercontent.com/u/1625151?v=4","gravatar_id":"","url":"https://api.github.com/users/sscaling","html_url":"https://github.com/sscaling","followers_url":"https://api.github.com/users/sscaling/followers","following_url":"https://api.github.com/users/sscaling/following{/other_user}","gists_url":"https://api.github.com/users/sscaling/gists{/gist_id}","starred_url":"https://api.github.com/users/sscaling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sscaling/subscriptions","organizations_url":"https://api.github.com/users/sscaling/orgs","repos_url":"https://api.github.com/users/sscaling/repos","events_url":"https://api.github.com/users/sscaling/events{/privacy}","received_events_url":"https://api.github.com/users/sscaling/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T20:05:01Z","updated_at":"2018-03-11T20:05:01Z","author_association":"COLLABORATOR","body":"@imochurad - is this still an issue with the current image? There Kafka process should shutdown gracefully."}}
{"actor":{"display_login":"sscaling"}}