<?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 Databricks Apps Streaming issue in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/databricks-apps-streaming-issue/m-p/151898#M1723</link>
    <description>&lt;P&gt;I have .NextJS Databricks Apps with streaming enabled by setting "stream:true" in the JSON body which tells&amp;nbsp;&lt;SPAN&gt;serve to return a streaming response (SSE format).&amp;nbsp; Now this works just fine when I run the app locally via npm run dev but once I deploy the app via Databricks Apps, streaming is not longer available.&amp;nbsp; It waits until the whole response is done and then displays the whole response all at once.&amp;nbsp; It appears that Databrics App has a proxy that is preventing streaming when stream:true is set.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 21:21:04 GMT</pubDate>
    <dc:creator>the_peterlandis</dc:creator>
    <dc:date>2026-03-24T21:21:04Z</dc:date>
    <item>
      <title>Databricks Apps Streaming issue</title>
      <link>https://community.databricks.com/t5/generative-ai/databricks-apps-streaming-issue/m-p/151898#M1723</link>
      <description>&lt;P&gt;I have .NextJS Databricks Apps with streaming enabled by setting "stream:true" in the JSON body which tells&amp;nbsp;&lt;SPAN&gt;serve to return a streaming response (SSE format).&amp;nbsp; Now this works just fine when I run the app locally via npm run dev but once I deploy the app via Databricks Apps, streaming is not longer available.&amp;nbsp; It waits until the whole response is done and then displays the whole response all at once.&amp;nbsp; It appears that Databrics App has a proxy that is preventing streaming when stream:true is set.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 21:21:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/databricks-apps-streaming-issue/m-p/151898#M1723</guid>
      <dc:creator>the_peterlandis</dc:creator>
      <dc:date>2026-03-24T21:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Apps Streaming issue</title>
      <link>https://community.databricks.com/t5/generative-ai/databricks-apps-streaming-issue/m-p/151899#M1724</link>
      <description>&lt;P&gt;What resolved this issue is to set the following headers listed below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Content-Type: "text/event-stream"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Connection: "keep-alive"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Transfer-Encoding: "chunked"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These headers&amp;nbsp;&lt;/SPAN&gt;help prevent&lt;SPAN&gt;&amp;nbsp;proxy interference:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Connection: "keep-alive"&amp;nbsp;explicitly tells proxies&amp;nbsp;not to close the connection, preventing premature termination&lt;/LI&gt;&lt;LI&gt;Transfer-Encoding: "chunked"&amp;nbsp;signals the proxy that variable-length chunks are normal, not an error&lt;/LI&gt;&lt;LI&gt;Content-Type: "text/event-stream"&amp;nbsp;hints to the proxy this is streaming data, deserving special handling&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 24 Mar 2026 21:26:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/databricks-apps-streaming-issue/m-p/151899#M1724</guid>
      <dc:creator>the_peterlandis</dc:creator>
      <dc:date>2026-03-24T21:26:27Z</dc:date>
    </item>
  </channel>
</rss>

