<?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 spark.apache.org in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-apache-org/m-p/11043#M6084</link>
    <description>&lt;P&gt;Per API docs on StreamingQuery.stop(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/streaming/StreamingQuery.html" target="_blank" rel="noopener"&gt;https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/streaming/StreamingQuery.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says, this stops the execution of this query if it is running and waits until the termination of the query execution threads or until a timeout is hit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This doesn't mean it waits for micro-batch completion. It will interrupt all active threads but wait until the termination or completion if it couldn't interrupt the current "thread" running. Sometimes we use uninterruptible threads, e.g. with Kafka - because interrupting Kafka threads bricks the cluster. All other threads will be interrupted.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 13:29:41 GMT</pubDate>
    <dc:creator>Sandeep</dc:creator>
    <dc:date>2025-03-21T13:29:41Z</dc:date>
    <item>
      <title>spark.apache.org</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-apache-org/m-p/11043#M6084</link>
      <description>&lt;P&gt;Per API docs on StreamingQuery.stop(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/streaming/StreamingQuery.html" target="_blank" rel="noopener"&gt;https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/streaming/StreamingQuery.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says, this stops the execution of this query if it is running and waits until the termination of the query execution threads or until a timeout is hit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This doesn't mean it waits for micro-batch completion. It will interrupt all active threads but wait until the termination or completion if it couldn't interrupt the current "thread" running. Sometimes we use uninterruptible threads, e.g. with Kafka - because interrupting Kafka threads bricks the cluster. All other threads will be interrupted.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:29:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-apache-org/m-p/11043#M6084</guid>
      <dc:creator>Sandeep</dc:creator>
      <dc:date>2025-03-21T13:29:41Z</dc:date>
    </item>
  </channel>
</rss>

