<?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 Error Reading Kafka message into Azure Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/68630#M33709</link>
    <description>&lt;P&gt;Team&lt;/P&gt;&lt;P&gt;I am trying to test the connection to Kafka broker from Azure Databricks. Telnet and IP is successful.&lt;/P&gt;&lt;P&gt;When I am trying to read the data, I am getting "Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error.&lt;/P&gt;&lt;P&gt;For reference below is the code:&lt;/P&gt;&lt;P&gt;connString ="kafkashaded.org.apache.kafka.common.security.plain.PlainLoginModule required username=\"uid\" password=\"pwd\";"&lt;/P&gt;&lt;P&gt;df = (spark&lt;BR /&gt;.readStream&lt;BR /&gt;.format("kafka")&lt;BR /&gt;.option("subscribe", "NOTIFICATIONS")&lt;BR /&gt;.option("kafka.bootstrap.servers", "brkip:9093")&lt;BR /&gt;.option("kafka.security.protocol", "SASL_SSL")&lt;BR /&gt;.option("kafka.sasl.mechanism", "PLAIN")&lt;BR /&gt;.option("kafka.sasl.jaas.config", connString)&lt;BR /&gt;.option("kafka.request.timeout.ms", "60000")&lt;BR /&gt;.option("kafka.session.timeout.ms", "30000")&lt;BR /&gt;.load())&lt;/P&gt;&lt;P&gt;display(df)&lt;/P&gt;&lt;P&gt;Am I missing any thing? Any suggestions?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 20:34:57 GMT</pubDate>
    <dc:creator>SreeG</dc:creator>
    <dc:date>2024-05-08T20:34:57Z</dc:date>
    <item>
      <title>Error Reading Kafka message into Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/68630#M33709</link>
      <description>&lt;P&gt;Team&lt;/P&gt;&lt;P&gt;I am trying to test the connection to Kafka broker from Azure Databricks. Telnet and IP is successful.&lt;/P&gt;&lt;P&gt;When I am trying to read the data, I am getting "Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error.&lt;/P&gt;&lt;P&gt;For reference below is the code:&lt;/P&gt;&lt;P&gt;connString ="kafkashaded.org.apache.kafka.common.security.plain.PlainLoginModule required username=\"uid\" password=\"pwd\";"&lt;/P&gt;&lt;P&gt;df = (spark&lt;BR /&gt;.readStream&lt;BR /&gt;.format("kafka")&lt;BR /&gt;.option("subscribe", "NOTIFICATIONS")&lt;BR /&gt;.option("kafka.bootstrap.servers", "brkip:9093")&lt;BR /&gt;.option("kafka.security.protocol", "SASL_SSL")&lt;BR /&gt;.option("kafka.sasl.mechanism", "PLAIN")&lt;BR /&gt;.option("kafka.sasl.jaas.config", connString)&lt;BR /&gt;.option("kafka.request.timeout.ms", "60000")&lt;BR /&gt;.option("kafka.session.timeout.ms", "30000")&lt;BR /&gt;.load())&lt;/P&gt;&lt;P&gt;display(df)&lt;/P&gt;&lt;P&gt;Am I missing any thing? Any suggestions?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 20:34:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/68630#M33709</guid>
      <dc:creator>SreeG</dc:creator>
      <dc:date>2024-05-08T20:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error Reading Kafka message into Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/68635#M33711</link>
      <description>&lt;P&gt;because you use&amp;nbsp;&lt;SPAN&gt;SASL_SSL&amp;nbsp;connect to Kafka, it need&amp;nbsp;certificate&amp;nbsp;file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/en/connect/streaming/kafka.html" target="_self"&gt;https://docs.databricks.com/en/connect/streaming/kafka.html&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 01:41:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/68635#M33711</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-05-09T01:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error Reading Kafka message into Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/69188#M33845</link>
      <description>&lt;P&gt;Had to hold on this testing. But, when I get a chance to work on this, I will update my findings. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:20:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-reading-kafka-message-into-azure-databricks/m-p/69188#M33845</guid>
      <dc:creator>SreeG</dc:creator>
      <dc:date>2024-05-16T16:20:11Z</dc:date>
    </item>
  </channel>
</rss>

