<?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 Data source V2 streaming is not supported on table acl or credential passthrough clusters in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31197#M22694</link>
    <description>&lt;P&gt;Using:&lt;/P&gt;&lt;P&gt;( hostname is hidden )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kafka = spark.readStream\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.format("kafka")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.sasl.mechanism", "SCRAM-SHA-512")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.security.protocol", "SASL_SSL")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.sasl.jaas.config", f'org.apache.kafka.common.security.scram.ScramLoginModule required&amp;nbsp;username="{user_stg}" password="{pass_stg}"')\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.bootstrap.servers", "b-1.data...amazonaws.com:9096")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("subscribe", "app-events")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("startingOffsets", "earliest")&lt;/P&gt;&lt;P&gt;I'm getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ava.lang.SecurityException: Data source V2 streaming is not supported on table acl or credential passthrough clusters. StreamingRelationV2 org.apache.spark.sql.kafka010.KafkaSourceProvider@11002bae, kafka, org.apache.spark.sql.kafka010.KafkaSourceProvider$KafkaTable@35ae434, [kafka.sasl.mechanism=SCRAM-SHA-512, subscribe=app--ddpg--evaluation--events, kafka.sasl.jaas.config=*********(redacted), kafka.bootstrap.servers=b-1.dataservices-msk-st.sydr4w.c1.kafka.eu-central-1.amazonaws.com:9096, startingOffsets=earliest, kafka.security.protocol=SASL_SSL], [key#137, value#138, topic#139, partition#140, offset#141L, timestamp#142, timestampType#143], StreamingRelation DataSource(org.apache.spark.sql.SparkSession@65e0bcfb,kafka,List(),None,List(),None,Map(kafka.sasl.mechanism -&amp;amp;gt; SCRAM-SHA-512, subscribe -&amp;amp;gt; app--ddpg--evaluation--events, kafka.sasl.jaas.config -&amp;amp;gt; org.apache.kafka.common.security.scram.ScramLoginModule required  username=&amp;amp;#34;[REDACTED]&amp;amp;#34; password=&amp;amp;#34;[REDACTED]&amp;amp;#34;, kafka.bootstrap.servers -&amp;amp;gt; b-1.data....amazonaws.com:9096, startingOffsets -&amp;amp;gt; earliest, kafka.security.protocol -&amp;amp;gt; SASL_SSL),None), kafka, [key#130, value#131, topic#132, partition#133, offset#134L, timestamp#135, timestampType#136]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;am I doing something wrong or there is a problem elsewhere?&lt;/P&gt;&lt;P&gt;Anybody get this and found a solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 10:25:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-21T10:25:28Z</dc:date>
    <item>
      <title>Data source V2 streaming is not supported on table acl or credential passthrough clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31197#M22694</link>
      <description>&lt;P&gt;Using:&lt;/P&gt;&lt;P&gt;( hostname is hidden )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kafka = spark.readStream\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.format("kafka")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.sasl.mechanism", "SCRAM-SHA-512")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.security.protocol", "SASL_SSL")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.sasl.jaas.config", f'org.apache.kafka.common.security.scram.ScramLoginModule required&amp;nbsp;username="{user_stg}" password="{pass_stg}"')\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("kafka.bootstrap.servers", "b-1.data...amazonaws.com:9096")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("subscribe", "app-events")\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.option("startingOffsets", "earliest")&lt;/P&gt;&lt;P&gt;I'm getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ava.lang.SecurityException: Data source V2 streaming is not supported on table acl or credential passthrough clusters. StreamingRelationV2 org.apache.spark.sql.kafka010.KafkaSourceProvider@11002bae, kafka, org.apache.spark.sql.kafka010.KafkaSourceProvider$KafkaTable@35ae434, [kafka.sasl.mechanism=SCRAM-SHA-512, subscribe=app--ddpg--evaluation--events, kafka.sasl.jaas.config=*********(redacted), kafka.bootstrap.servers=b-1.dataservices-msk-st.sydr4w.c1.kafka.eu-central-1.amazonaws.com:9096, startingOffsets=earliest, kafka.security.protocol=SASL_SSL], [key#137, value#138, topic#139, partition#140, offset#141L, timestamp#142, timestampType#143], StreamingRelation DataSource(org.apache.spark.sql.SparkSession@65e0bcfb,kafka,List(),None,List(),None,Map(kafka.sasl.mechanism -&amp;amp;gt; SCRAM-SHA-512, subscribe -&amp;amp;gt; app--ddpg--evaluation--events, kafka.sasl.jaas.config -&amp;amp;gt; org.apache.kafka.common.security.scram.ScramLoginModule required  username=&amp;amp;#34;[REDACTED]&amp;amp;#34; password=&amp;amp;#34;[REDACTED]&amp;amp;#34;, kafka.bootstrap.servers -&amp;amp;gt; b-1.data....amazonaws.com:9096, startingOffsets -&amp;amp;gt; earliest, kafka.security.protocol -&amp;amp;gt; SASL_SSL),None), kafka, [key#130, value#131, topic#132, partition#133, offset#134L, timestamp#135, timestampType#136]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;am I doing something wrong or there is a problem elsewhere?&lt;/P&gt;&lt;P&gt;Anybody get this and found a solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 10:25:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31197#M22694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-21T10:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data source V2 streaming is not supported on table acl or credential passthrough clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31198#M22695</link>
      <description>&lt;UL&gt;&lt;LI&gt;With TACL enabled cluster, you got many restrictions, so streaming will not work. Generally, you can read only things registered in metastore; please disable it for your use case,&lt;/LI&gt;&lt;LI&gt;Additionally, remember that the unity catalog doesn't support streaming on clusters using shared access mode,&lt;/LI&gt;&lt;LI&gt;Shouldn't it be sasl.token.mechanism ? (but maybe the sasl.mechanism is an alias)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 17:55:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31198#M22695</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-09-21T17:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data source V2 streaming is not supported on table acl or credential passthrough clusters</title>
      <link>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31199#M22696</link>
      <description>&lt;P&gt;Ok, so we closed ourselves out. The least privileges policy has gone out of control. &lt;/P&gt;&lt;P&gt;about sasl.token.mechanism, yes it could be wrong, however, this is the last of the problems. So we need: unity catalog to manage the permission and we have to run the code over a cluster without shared mode access. It's far far away from what we have.  &lt;/P&gt;&lt;P&gt;Does using Scala ease something ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 07:04:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/data-source-v2-streaming-is-not-supported-on-table-acl-or/m-p/31199#M22696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-22T07:04:28Z</dc:date>
    </item>
  </channel>
</rss>

