<?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: Scope creation in Databricks or Confluent? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13477#M8150</link>
    <description>&lt;P&gt;or does this even mean its able to access my topic? &lt;/P&gt;&lt;P&gt;Thanks for your time Hubert. I really appreciate it.&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 17:24:53 GMT</pubDate>
    <dc:creator>julie</dc:creator>
    <dc:date>2023-01-06T17:24:53Z</dc:date>
    <item>
      <title>Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13472#M8145</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello I am a newbie in this field and trying to access confluent kafka stream in Databricks Azure based on a beginner's video by Databricks. I have a free trial of Databricks cluster right now. When I run the below notebook, it errors out on line 5 on scope. &lt;/P&gt;&lt;P&gt;My question is, should I create the scope in confluent or in Databricks. Has anybody seen this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=iq9rsWc8A2U" alt="https://www.youtube.com/watch?v=iq9rsWc8A2U" target="_blank"&gt;youtube video&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/912i70741981ADF3EFBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!!&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 18:51:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13472#M8145</guid>
      <dc:creator>julie</dc:creator>
      <dc:date>2023-01-05T18:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13473#M8146</link>
      <description>&lt;P&gt;For testing, create without secret scope. It will be unsafe, but you can post secrets as strings in the notebook for testing. Here is the code which I used for loading data from confluent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;inputDF = (spark
.readStream
.format("kafka")
.option("kafka.bootstrap.servers", host)
.option("kafka.ssl.endpoint.identification.algorithm", "https")
.option("kafka.sasl.mechanism", "PLAIN")
.option("kafka.security.protocol", "SASL_SSL")
.option("kafka.sasl.jaas.config", "kafkashaded.org.apache.kafka.common.security.plain.PlainLoginModule required username='{}' password='{}';".format(userid, password))
.option("subscribe", topic)
.option("kafka.client.id", "Databricks")
.option("kafka.group.id", "new_group2")
.option("spark.streaming.kafka.maxRatePerPartition", "5")
.option("startingOffsets", "earliest")
.option("kafka.session.timeout.ms", "10000")
 .option("minPartitions", sc.DefaultParallelism)
.load() )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 18:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13473#M8146</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-05T18:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13474#M8147</link>
      <description>&lt;P&gt;Hey Hubert,&lt;/P&gt;&lt;P&gt;Firstly thanks for your response. Sure, I'll try this instead. &lt;/P&gt;&lt;P&gt;For line 11, kafka.group.id , that'll have to be from confluent cloud right? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 15:49:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13474#M8147</guid>
      <dc:creator>julie</dc:creator>
      <dc:date>2023-01-06T15:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13475#M8148</link>
      <description>&lt;P&gt;It is the name defined by you to control offset. I think that once you put in databricks code it will create it in kafka/confluent automatically.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 15:53:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13475#M8148</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-06T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13476#M8149</link>
      <description>&lt;P&gt;Thanks Hubert, it runs fine and it looks like it is creating an input dataframe. How do I see if it consuming the correct topic? any thoughts? &lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/913i6063D44796D05B98/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 17:19:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13476#M8149</guid>
      <dc:creator>julie</dc:creator>
      <dc:date>2023-01-06T17:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scope creation in Databricks or Confluent?</title>
      <link>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13477#M8150</link>
      <description>&lt;P&gt;or does this even mean its able to access my topic? &lt;/P&gt;&lt;P&gt;Thanks for your time Hubert. I really appreciate it.&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 17:24:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/scope-creation-in-databricks-or-confluent/m-p/13477#M8150</guid>
      <dc:creator>julie</dc:creator>
      <dc:date>2023-01-06T17:24:53Z</dc:date>
    </item>
  </channel>
</rss>

