<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vipin Dhonkaria</title>
    <description>The latest articles on DEV Community by Vipin Dhonkaria (@vipinkh97).</description>
    <link>https://dev.to/vipinkh97</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F301791%2F48994d62-a4e5-4806-91f7-6a20d78b8d67.jpeg</url>
      <title>DEV Community: Vipin Dhonkaria</title>
      <link>https://dev.to/vipinkh97</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vipinkh97"/>
    <language>en</language>
    <item>
      <title>Kafka Connect - Failed to select new Group Coordinator when one dies</title>
      <dc:creator>Vipin Dhonkaria</dc:creator>
      <pubDate>Fri, 27 Dec 2019 07:02:24 +0000</pubDate>
      <link>https://dev.to/vipinkh97/kafka-connect-failed-to-select-new-group-coordinator-when-one-dies-192l</link>
      <guid>https://dev.to/vipinkh97/kafka-connect-failed-to-select-new-group-coordinator-when-one-dies-192l</guid>
      <description>&lt;p&gt;I am having 4 nodes Kafka cluster and one zookeeper node running. When group coordinator dies then zookeeper won't select new group coordinator from available brokers list instead it keeps trying discovering the died Kafka broker. It stopped the Kafka connectors from pushing events from Kafka topic to elastic search index.&lt;/p&gt;

&lt;p&gt;Kafka Cluster : host1:9092, host2:9092, host3:9092, host4:9092&lt;/p&gt;

&lt;p&gt;zookeeper node = host4:2181&lt;br&gt;
group coordinator = host4:9092&lt;br&gt;
broker id = 0 , host1:9092&lt;br&gt;
broker id = 1 , host2:9092&lt;br&gt;
broker id = 2 , host3:9092&lt;br&gt;
broker id = 3 , host4:9092&lt;br&gt;
zookeeper is not assigning a new group coordinator and respond Disconnect connection.&lt;/p&gt;

&lt;p&gt;2019-12-26 16:01:15 INFO  AbstractCoordinator:780 - [Worker clientId=connect-1, groupId=kafkaconnector] Group coordinator host4:9092 (id: 2147483647 rack: null) is unavailable or invalid, will attempt rediscovery&lt;br&gt;
2019-12-26 16:01:16 INFO  FetchSessionHandler:442 - [Consumer clientId=consumer-2, groupId=kafkaconnector] Error sending fetch request (sessionId=2112463313, epoch=INITIAL) to node 0: org.apache.kafka.common.errors.DisconnectException.&lt;br&gt;
Also I am not able to fetch events from Kafka topics from console-consumer when group coordinator is dead.&lt;/p&gt;

&lt;p&gt;On executing ./kafka-console-consumer.sh --bootstrap-server node2:9092 --topic connector&lt;/p&gt;

&lt;p&gt;I am getting this warning response continuously and won't get messages from Kafka topics.&lt;/p&gt;

&lt;p&gt;[2019-12-26 16:35:30,909] WARN [Consumer clientId=consumer-1, groupId=console-consumer-20067] Connection to node -1 (/node4:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)&lt;br&gt;
I am not able to fix it from last week. Please help on the same.&lt;/p&gt;

</description>
      <category>kafka</category>
      <category>kafkaconnect</category>
      <category>elasticsearch</category>
    </item>
  </channel>
</rss>
