<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1824 Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1824 Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running</link><pubDate>Fri, 28 Dec 2018 20:24:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6acc864-d342-4a51-88ee-1cdf770b3f3a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 12/28/2018 8:24:42 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian services after a Kafka failure, Service Manager starts successfully, but the following message is is logged&amp;nbsp;in the console and in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service_manger.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;com.appian.komodo.log.KafkaUtils - Cannot connect to Kafka broker &amp;lt;SERVER_NAME&amp;gt;:9092&lt;/pre&gt;
&lt;p&gt;However, Kafka is running, and the following messages are logged in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka/server.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index) has non-zero size but the last offset is x which is no larger than the base offset y.}. deleting &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.timeindex, &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index and rebuilding index... (kafka.log.Log)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Some transactions had not been written to disk at the point of the Kafka failure. Kafka must re-analyze the transaction log and rebuild any missing or corrupt index files. The amount of time this takes is based on the size of the unwritten transactions.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Allow Kafka to finish rebuilding the index files, after which Service Manager should be able to successfully connect to Kafka and complete the startup of Appian services.&lt;/p&gt;
&lt;p&gt;Continue starting Appian normally according to the &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html" target="_blank"&gt;startup guide&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: December 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: kafka, engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT-XXXX Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running/revision/4</link><pubDate>Fri, 28 Dec 2018 14:34:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6acc864-d342-4a51-88ee-1cdf770b3f3a</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Daniel DeVeau on 12/28/2018 2:34:22 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian services after a Kafka failure, Service Manager starts successfully, but the following message is is logged&amp;nbsp;in the console and in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service_manger.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;com.appian.komodo.log.KafkaUtils - Cannot connect to Kafka broker &amp;lt;SERVER_NAME&amp;gt;:9092&lt;/pre&gt;
&lt;p&gt;However, Kafka is running, and the following messages are logged in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka/server.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index) has non-zero size but the last offset is x which is no larger than the base offset y.}. deleting &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.timeindex, &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index and rebuilding index... (kafka.log.Log)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Some transactions had not been written to disk at the point of the Kafka failure. Kafka must re-analyze the transaction log and rebuild any missing or corrupt index files. The amount of time this takes is based on the size of the unwritten transactions.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Allow Kafka to finish rebuilding the index files, after which Service Manager should be able to successfully connect to Kafka and complete the startup of Appian services.&lt;/p&gt;
&lt;p&gt;Continue starting Appian normally according to the &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html" target="_blank"&gt;startup guide&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: December 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: kafka, engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT-XXXX Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running/revision/3</link><pubDate>Mon, 17 Dec 2018 16:57:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6acc864-d342-4a51-88ee-1cdf770b3f3a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Jordan Horwat on 12/17/2018 4:57:05 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian services after a Kafka failure, Service Manager starts successfully, but the following message is is logged&amp;nbsp;in the console and in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service_manger.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;com.appian.komodo.log.KafkaUtils - Cannot connect to Kafka broker &amp;lt;SERVER_NAME&amp;gt;:9092&lt;/pre&gt;
&lt;p&gt;However, Kafka is running, and the following messages are logged in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka/server.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index) has non-zero size but the last offset is x which is no larger than the base offset y.}. deleting &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.timeindex, &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index and rebuilding index... (kafka.log.Log)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Some transactions had not been written to disk at the point of the Kafka failure. Kafka must re-analyze the transaction log and rebuild any missing or corrupt index files. The amount of time this takes is based on the size of the unwritten transactions.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Allow Kafka to finish rebuilding the index files, after which Service Manager should be able to successfully connect to Kafka and complete the startup of Appian services.&lt;/p&gt;
&lt;p&gt;Continue starting Appian normally according to the &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html" target="_blank"&gt;startup guide&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.4 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: December 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: kafka, engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT-XXXX Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running/revision/1</link><pubDate>Tue, 04 Dec 2018 17:07:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6acc864-d342-4a51-88ee-1cdf770b3f3a</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Daniel DeVeau on 12/4/2018 5:07:32 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian services after a Kafka failure, service manager starts successfully. but the following is logged&amp;nbsp;in the console and in &lt;strong&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service_manger.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;com.appian.komodo.log.KafkaUtils - Cannot connect to Kafka broker &amp;lt;SERVER_NAME&amp;gt;:9092&lt;/pre&gt;
&lt;p&gt;However, Kafka is running, and the following messages are logged in &lt;strong&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka/server.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index) has non-zero size but the last offset is x which is no larger than the base offset y.}. deleting &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.timeindex, &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index and rebuilding index... (kafka.log.Log)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Some transactions had not been written to disk at the point of the Kafka failure. Kafka must re-analyze the transaction log and rebuild any missing or corrupt index files. The amount of time this takes is based on the size of the unwritten transactions.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Allow Kafka to finish rebuilding the index files, after which point service manager should be able to successfully connect to Kafka.&lt;/p&gt;
&lt;p&gt;Continue starting Appian normally according to the &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html" target="_blank"&gt;startup guide&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.4 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: December 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: kafka, engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT-XXXX Service manager logs "Cannot connect to Kafka broker" when Kafka is running</title><link>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running/revision/2</link><pubDate>Tue, 04 Dec 2018 12:08:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6acc864-d342-4a51-88ee-1cdf770b3f3a</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/1257/kb-1824-service-manager-logs-cannot-connect-to-kafka-broker-when-kafka-is-running#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Daniel DeVeau on 12/4/2018 12:08:37 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian services after a Kafka failure, service manager starts successfully. but the following is logged&amp;nbsp;in the console and in &lt;strong&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service_manger.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;com.appian.komodo.log.KafkaUtils - Cannot connect to Kafka broker &amp;lt;SERVER_NAME&amp;gt;:9092&lt;/pre&gt;
&lt;p&gt;However, Kafka is running, and the following messages are logged in &lt;strong&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka/server.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index) has non-zero size but the last offset is x which is no larger than the base offset y.}. deleting &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.timeindex, &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/&amp;lt;filename&amp;gt;.index and rebuilding index... (kafka.log.Log)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Some transactions had not been written to disk at the point of the Kafka failure. Kafka must re-analyze the transaction log and rebuild any missing or corrupt index files. The amount of time this takes is based on the size of the unwritten transactions.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Allow Kafka to finish rebuilding the index files, after which point service manager should be able to successfully connect to Kafka and complete the startup of Appian services.&lt;/p&gt;
&lt;p&gt;Continue starting Appian normally according to the &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html" target="_blank"&gt;startup guide&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.4 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: December 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: kafka, engines, infrastructure, service manager&lt;/div&gt;
</description></item></channel></rss>