<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: min.insync.replicas - Check if taken into account after changing the value in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82730#M44784</link>
    <description>&lt;P&gt;Thanks a lot for your help and your time&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11235"&gt;@Tomas79&lt;/a&gt;, I will try this solution.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 16:31:23 GMT</pubDate>
    <dc:creator>Joborg254</dc:creator>
    <dc:date>2018-11-21T16:31:23Z</dc:date>
    <item>
      <title>min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82702#M44778</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know if the "min.insync.replicas" configured with a new&amp;nbsp;value (2) is taking effect on all of our Topics that was already created before&amp;nbsp;the change of this value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've already done:&lt;/P&gt;&lt;P&gt;- I noticed that when I execute the command:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;kafka-topics --zookeeper ServerName:2181 --topic&amp;nbsp;TOPICTEST&amp;nbsp;--describe&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this result:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Topic:TOPICTEST&amp;nbsp; &amp;nbsp; PartitionCount:3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReplicationFactor:3 Configs:retention.ms=172800000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==&amp;gt; I don't see the "min.insync.replicas=2" result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see it only&amp;nbsp;when&amp;nbsp;I alter the topic this way:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;kafka-topics --alter --zookeeper&amp;nbsp;ServerName:2181 --topic&amp;nbsp;TOPICTEST&amp;nbsp;--config min.insync.replicas=2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the result is of the same --describe is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Topic:TOPICTEST&amp;nbsp; &amp;nbsp; PartitionCount:3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReplicationFactor:3 Configs:retention.ms=172800000,&lt;STRONG&gt;min.insync.replicas=2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which confirms that the min.insync.replicas value has been taken into account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I check the new default value is applied as planned?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:55:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82702#M44778</guid>
      <dc:creator>Joborg254</dc:creator>
      <dc:date>2022-09-16T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82705#M44779</link>
      <description>I think by default this setting your configuration is not set by default. Therefore after the topic was created you dont see this property on the topic. After you explicitly set the property it is applied by the Kafka,.&lt;BR /&gt;&lt;BR /&gt;If you want to set it service wide, check out the docs &lt;A href="https://www.cloudera.com/documentation/kafka/latest/topics/kafka_ha.html" target="_blank"&gt;https://www.cloudera.com/documentation/kafka/latest/topics/kafka_ha.html&lt;/A&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:16:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82705#M44779</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2018-11-21T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82711#M44780</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11235"&gt;@Tomas79&lt;/a&gt;,&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;When launching the command again (after having changed the default value from 1 to 2) and create a new topic "TOPICtest2" afterward,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I still don't see the property in the result of the command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;kafka-topics --zookeeper ServerName:2181 --topic&amp;nbsp;TOPICtest2 --describe&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Topic:TOPICTEST&amp;nbsp; &amp;nbsp; PartitionCount:3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReplicationFactor:3 Configs:retention.ms=172800000&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Does this mean that the value (&lt;FONT face="courier new,courier"&gt;min.insync.replicas=2&lt;/FONT&gt;) is not showed when the topic has the default value?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:32:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82711#M44780</guid>
      <dc:creator>Joborg254</dc:creator>
      <dc:date>2018-11-21T15:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82712#M44781</link>
      <description>Yes, it could be the case.</description>
      <pubDate>Wed, 21 Nov 2018 15:32:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82712#M44781</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2018-11-21T15:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82715#M44782</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11235"&gt;@Tomas79&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Yes, it could be the case.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11235"&gt;@Tomas79&lt;/a&gt;, I need to make sure because all teams in my compagny are pressuring me about this answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;They need me to make sure the topics are with the min.insync.replicas=2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you have a way to check that, it would be perfect.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:41:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82715#M44782</guid>
      <dc:creator>Joborg254</dc:creator>
      <dc:date>2018-11-21T15:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82728#M44783</link>
      <description>I think you can test it on the newly created topic, try to shut down the following replicas, so that only the leader will be the ISR and since you have a min.insync set to 2 it should refuse to accept write. Otherwise, without this option your leader can tolerate the failure of the followers and accept the writes to the topic</description>
      <pubDate>Wed, 21 Nov 2018 16:27:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82728#M44783</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2018-11-21T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: min.insync.replicas - Check if taken into account after changing the value</title>
      <link>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82730#M44784</link>
      <description>&lt;P&gt;Thanks a lot for your help and your time&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11235"&gt;@Tomas79&lt;/a&gt;, I will try this solution.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 16:31:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/min-insync-replicas-Check-if-taken-into-account-after/m-p/82730#M44784</guid>
      <dc:creator>Joborg254</dc:creator>
      <dc:date>2018-11-21T16:31:23Z</dc:date>
    </item>
  </channel>
</rss>

