<?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>topic Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28470#M20266</link>
    <description>&lt;P&gt;You can do the following:&lt;/P&gt;&lt;P&gt;%sh nc -zv {hostname} {port}&lt;/P&gt;&lt;P&gt;%sh telnet {hostname} {port}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check connectivity &lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 22:49:12 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2022-10-28T22:49:12Z</dc:date>
    <item>
      <title>kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28465#M20261</link>
      <description>&lt;P&gt;I am facing an error when trying to write data on Kafka using spark stream.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;#Extract
source_stream_df= (spark.readStream
.format("cosmos.oltp.changeFeed")
.option("spark.cosmos.container", PARM_CONTAINER_NAME)
.option("spark.cosmos.read.inferSchema.enabled", "true")
.option("spark.cosmos.changeFeed.startFrom", "Beginning")
.option("spark.cosmos.changeFeed.mode", "Incremental")
.option("path", "/mnt/storageaccountr01")
.options(**cfg)
.load())
&amp;nbsp;
#Transfrom
kafka_target_df=outputDF.selectExpr("id as key","""to_json(struct(*)) as value""")
&amp;nbsp;
#Load
bootstrap_server="kafka-0-client.company-domin.svc.prod1-us-central1.gke.kaas-prod-us.gcp.extscloud.com:port"
topic_name="topic-downstream-data-nonprod"
keystore_loc="dbfs:/mnt/secrets/certificate/myc/keystore.jks"
keystore_pwd="**"
truststore_loc="dbfs:/mnt/secrets/certificate/myc/truststore.jks"
truststore_pwd="**"
&amp;nbsp;
message_df = (kafka_target_df
    .writeStream
    .outputMode("append")
    .queryName("FlattenRecordsWriter")
    .format("kafka")
    .option("topic", topic_name)
    .option("kafka.bootstrap.servers", bootstrap_server)
    .option("security.protocol", "SSL") #SASL_SSL | SSL     
    .option("ssl.truststore.location", truststore_loc)
    .option("ssl.truststore.password",truststore_pwd)
    .option("ssl.keystore.location", keystore_loc)
    .option("ssl.keystore.password", keystore_pwd)
    .option("checkpointLocation", "/mnt/storageaccountr01/logs/check")
    .start())
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;river stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:3029)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2976)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2970)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2970)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1390)
	at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1390)
	at scala.Option.foreach(Option.scala:407)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1390)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:3238)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:3179)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:3167)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
	at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:1152)
	at org.apache.spark.SparkContext.runJobInternal(SparkContext.scala:2651)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2634)
	at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.writeWithV2(WriteToDataSourceV2Exec.scala:371)
Caused by: kafkashaded.org.apache.kafka.common.errors.TimeoutException: Topic umr-cps-nonprod.tic.stuff not present in metadata after 60000 ms.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 13:45:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28465#M20261</guid>
      <dc:creator>ImAbhishekTomar</dc:creator>
      <dc:date>2022-10-07T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28466#M20262</link>
      <description>&lt;P&gt;@Abhishek Tomar​&amp;nbsp;: Are you able to reach the Kafka? Looks like there are network configuration issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please double-check the routing configured including the peering connection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 17:53:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28466#M20262</guid>
      <dc:creator>Sivaprasad1</dc:creator>
      <dc:date>2022-10-07T17:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28467#M20263</link>
      <description>@Sivaprasad - when I’m telnet my broker and port in Databricks then it’s showing connected.&lt;BR /&gt;Thanks,&lt;BR /&gt;Abhishek</description>
      <pubDate>Fri, 07 Oct 2022 17:59:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28467#M20263</guid>
      <dc:creator>ImAbhishekTomar</dc:creator>
      <dc:date>2022-10-07T17:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28468#M20264</link>
      <description>&lt;P&gt;There is any other way to check the connect between my Databricks cluster and Kafka broker?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 18:11:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28468#M20264</guid>
      <dc:creator>ImAbhishekTomar</dc:creator>
      <dc:date>2022-10-07T18:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28469#M20265</link>
      <description>&lt;P&gt;Please check the connection with the telnet to detect potential network issues. To run telnet, you need to use the magic command %sh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code which I am using to connect to Kafka confluent cloud:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;1. inputDF = (spark
2.  .readStream
3.  .format("kafka")
4.  .option("kafka.bootstrap.servers", host)
5.  .option("kafka.ssl.endpoint.identification.algorithm", "https")
6.  .option("kafka.sasl.mechanism", "PLAIN")
7.  .option("kafka.security.protocol", "SASL_SSL")
8.  .option("kafka.sasl.jaas.config", "kafkashaded.org.apache.kafka.common.security.plain.PlainLoginModule required username='{}' password='{}';".format(userid, password))
9.  .option("subscribe", topic)
10.  .option("kafka.client.id", "Databricks")
11.  .option("kafka.group.id", "new_group2")
12.  .option("spark.streaming.kafka.maxRatePerPartition", "5")
13.  .option("startingOffsets", "earliest")
14.  .option("kafka.session.timeout.ms", "10000")
 .load() )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 10:17:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28469#M20265</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-16T10:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28470#M20266</link>
      <description>&lt;P&gt;You can do the following:&lt;/P&gt;&lt;P&gt;%sh nc -zv {hostname} {port}&lt;/P&gt;&lt;P&gt;%sh telnet {hostname} {port}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check connectivity &lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 22:49:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28470#M20266</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-10-28T22:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not present in metadata after 60000 ms.</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28471#M20267</link>
      <description>&lt;P&gt;BIU$I&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 01:27:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/28471#M20267</guid>
      <dc:creator>Zainaboladokun</dc:creator>
      <dc:date>2022-10-30T01:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: kafkashaded.org.apache.kafka.common.errors.TimeoutException: topic-downstream-data-nonprod not p</title>
      <link>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/89265#M37748</link>
      <description>&lt;P&gt;What event hub namespace you were using?&lt;BR /&gt;&lt;BR /&gt;I had same problem and resolved by changing pricing plan from basic to standard as Kafka apps is not supporting in basic plan&lt;BR /&gt;&lt;BR /&gt;Let me know if you had anything else. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:54:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/kafkashaded-org-apache-kafka-common-errors-timeoutexception/m-p/89265#M37748</guid>
      <dc:creator>devmehta</dc:creator>
      <dc:date>2024-09-10T09:54:28Z</dc:date>
    </item>
  </channel>
</rss>

