<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How To Set Up Kafka Without Zookeeper using Docker Compose?	</title>
	<atom:link href="https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/</link>
	<description>Kotlin &#38; Backend Tutorials - Learn Through Practice.</description>
	<lastBuildDate>Wed, 16 Apr 2025 04:50:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Aurel		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-65</link>

		<dc:creator><![CDATA[Aurel]]></dc:creator>
		<pubDate>Thu, 11 May 2023 18:40:01 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-65</guid>

					<description><![CDATA[Hi, I&#039;m using this tutorial in conjunction with https://blog.codersee.com/apache-kafka-with-spring-boot-and-kotlin/
So I am following the SpringBoot Kotlin tutorial and I&#039;m failing to connect to the broker, as the application fails to start with the following:
2023-05-11T19:36:04.909+01:00  WARN 47848 --- [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Connection to node -1 (localhost/127.0.0.1:9001) could not be established. Broker may not be available.
2023-05-11T19:36:04.909+01:00  WARN 47848 --- [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Bootstrap broker localhost:9001 (id: -1 rack: null) disconnected
2023-05-11T19:36:05.837+01:00  INFO 47848 --- [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Node -1 disconnected.]]></description>
			<content:encoded><![CDATA[<p>Hi, I&#8217;m using this tutorial in conjunction with <a href="https://blog.codersee.com/apache-kafka-with-spring-boot-and-kotlin/" rel="ugc">https://blog.codersee.com/apache-kafka-with-spring-boot-and-kotlin/</a><br />
So I am following the SpringBoot Kotlin tutorial and I&#8217;m failing to connect to the broker, as the application fails to start with the following:<br />
2023-05-11T19:36:04.909+01:00  WARN 47848 &#8212; [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Connection to node -1 (localhost/127.0.0.1:9001) could not be established. Broker may not be available.<br />
2023-05-11T19:36:04.909+01:00  WARN 47848 &#8212; [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Bootstrap broker localhost:9001 (id: -1 rack: null) disconnected<br />
2023-05-11T19:36:05.837+01:00  INFO 47848 &#8212; [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-0-1, groupId=0] Node -1 disconnected.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-64</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Fri, 20 Jan 2023 16:17:21 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-64</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-63&quot;&gt;Saurav Dagar&lt;/a&gt;.

It should be fine :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-63">Saurav Dagar</a>.</p>
<p>It should be fine 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Saurav Dagar		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-63</link>

		<dc:creator><![CDATA[Saurav Dagar]]></dc:creator>
		<pubDate>Thu, 19 Jan 2023 08:47:56 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-63</guid>

					<description><![CDATA[Hi,

Thanks Piotr for the solution. I tired the running docker-compose after pruning all the containers. But still getting the same issue.

One change I have made in ur run_workaround.sh:
echo &quot;kafka-storage format --ignore-formatted -t NqnEdODVKkiLTfJvqd1uqQ== -c /etc/kafka/kafka.properties&quot; &#062;&#062; /etc/confluent/docker/ensure

CHANGED TO

echo &quot;kafka-storage format --ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties&quot; &#062;&#062; /etc/confluent/docker/ensure

I am not sure whether it is fine or not?

Please help.]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks Piotr for the solution. I tired the running docker-compose after pruning all the containers. But still getting the same issue.</p>
<p>One change I have made in ur run_workaround.sh:<br />
echo &#8220;kafka-storage format &#8211;ignore-formatted -t NqnEdODVKkiLTfJvqd1uqQ== -c /etc/kafka/kafka.properties&#8221; &gt;&gt; /etc/confluent/docker/ensure</p>
<p>CHANGED TO</p>
<p>echo &#8220;kafka-storage format &#8211;ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties&#8221; &gt;&gt; /etc/confluent/docker/ensure</p>
<p>I am not sure whether it is fine or not?</p>
<p>Please help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-62</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Thu, 19 Jan 2023 07:02:33 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-62</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-61&quot;&gt;Saurav&lt;/a&gt;.

Hi! 

If this is environment you don&#039;t care about, I would personally go with docker compose down and prune all the containers, networking and volumes. 

Otherwise, 
- docker-compose down
- backup kafka-logs directory using cp kafka-logs -r kafka-logs-bak
- delete the kafka-logs/meta.properties file
- docker-compose up -d

If meta.properties delete does not help, then please check out if this is not related to old containers or something like that]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-61">Saurav</a>.</p>
<p>Hi! </p>
<p>If this is environment you don&#8217;t care about, I would personally go with docker compose down and prune all the containers, networking and volumes. </p>
<p>Otherwise,<br />
&#8211; docker-compose down<br />
&#8211; backup kafka-logs directory using cp kafka-logs -r kafka-logs-bak<br />
&#8211; delete the kafka-logs/meta.properties file<br />
&#8211; docker-compose up -d</p>
<p>If meta.properties delete does not help, then please check out if this is not related to old containers or something like that</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Saurav		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-61</link>

		<dc:creator><![CDATA[Saurav]]></dc:creator>
		<pubDate>Thu, 19 Jan 2023 06:54:32 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-61</guid>

					<description><![CDATA[Getting this error while running the docker-compose.yaml. 

kafka3  &#124; [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)
kafka1  &#124; [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)
kafka2  &#124; [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)

Please help in resolving it.
Thanks!]]></description>
			<content:encoded><![CDATA[<p>Getting this error while running the docker-compose.yaml. </p>
<p>kafka3  | [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)<br />
kafka1  | [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)<br />
kafka2  | [2023-01-19 06:52:27,859] ERROR [RaftManager nodeId=3] Unexpected error INCONSISTENT_CLUSTER_ID in VOTE response: InboundResponse(correlationId=2849, data=VoteResponseData(errorCode=104, topics=[]), sourceId=2) (org.apache.kafka.raft.KafkaRaftClient)</p>
<p>Please help in resolving it.<br />
Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Piotr		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-60</link>

		<dc:creator><![CDATA[Piotr]]></dc:creator>
		<pubDate>Wed, 05 Oct 2022 05:50:58 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-60</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-59&quot;&gt;gomipapa&lt;/a&gt;.

Thank you for your kind feedback! 
I&#039;m really happy that you find this useful :D]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-59">gomipapa</a>.</p>
<p>Thank you for your kind feedback!<br />
I&#8217;m really happy that you find this useful 😀</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: gomipapa		</title>
		<link>https://blog.codersee.com/how-to-set-up-kafka-without-zookeeper-using-docker-compose/#comment-59</link>

		<dc:creator><![CDATA[gomipapa]]></dc:creator>
		<pubDate>Wed, 05 Oct 2022 05:49:08 +0000</pubDate>
		<guid isPermaLink="false">https://codersee.com/?p=5503746#comment-59</guid>

					<description><![CDATA[This is a really good article.
It was very helpful, and thanks for the great article.]]></description>
			<content:encoded><![CDATA[<p>This is a really good article.<br />
It was very helpful, and thanks for the great article.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: blog.codersee.com @ 2026-05-10 15:28:51 by W3 Total Cache
-->