<?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: Clarification on Auto Loader Managed File Events with Unity Catalog Managed Volumes in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162810#M5422</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.databricks.com/t5/user/viewprofilepage/user-id/170854" target="_blank"&gt;@APJESK&lt;/A&gt;,&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I am wondering if the main source of confusion is the name cloudFiles.useManagedFileEvents.&amp;nbsp;In the public docs, "managed" here refers to the Databricks-managed file-events service and cache layer, not to Unity Catalog managed volumes or the __unitystorage path. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-events-explained" rel="noopener noreferrer nofollow" target="_blank"&gt;Auto Loader with file events overview&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;explains that Databricks sets up cloud resources to listen for file events, processes those notifications, and then Auto Loader reads from that file-events cache when cloudFiles.useManagedFileEvents=true is set.&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;On your first question... at a high level, file events are configured at the external-location scope. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode" rel="noopener noreferrer nofollow" target="_blank"&gt;file notification mode docs&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;say Databricks uses a single file notification queue for all streams from a given external location, and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/connect/unity-catalog/cloud-storage/manage-external-locations" rel="noopener noreferrer nofollow" target="_blank"&gt;manage external locations docs&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;say enabling file events on an external location allows Databricks to configure S3-side notifications for that location.&amp;nbsp;So, if your managed storage is physically landing under s3://my-bucket/catalog/cat1/__unitystorage/..., as in your example, then it is still under the broader external-location prefix s3://my-bucket/catalog/cat1/ that you described. Because of that, object creates under __unitystorage would be within that same underlying external-location notification scope. That said, the public docs do not present __unitystorage as the intended Auto Loader ingestion target.&lt;/P&gt;
&lt;P&gt;On your second question...I would be careful not to treat that as official support for managed volumes as a managed-file-events source. The public docs consistently describe the source as an external location or a volume on an external location, and they specifically recommend creating a separate external volume for each ingest path and passing the volume path to Auto Loader. I do not see public documentation that explicitly positions managed volumes as an officially supported Auto Loader source for cloudFiles.useManagedFileEvents=true. If you do see that, can you please post the link to that page?&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;There is also a related signal in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/jobs/file-arrival-triggers" rel="noopener noreferrer nofollow" target="_blank"&gt;file arrival trigger docs&lt;/A&gt;... they explicitly say the monitored path must not contain managed locations of catalogs and schemas. That is a different feature from Auto Loader itself, but it points in the same direction and reinforces that Databricks is careful about treating Unity Catalog managed locations as event-driven file-ingestion sources.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwin_DSA_0-1783949919745.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28917i83A458D045404A1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ashwin_DSA_0-1783949919745.png" alt="Ashwin_DSA_0-1783949919745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;On your third question...the answer is that enabling file events is still valuable for workloads that read paths governed by that external location. The docs say it makes Auto Loader setup easier, enables incremental file discovery with notification-like performance, and improves file-arrival triggers for jobs. In other words, enabling file events on the external location is about improving ingestion and event-driven processing for that external-location-backed storage boundary. It is not the same thing as saying every path underneath that boundary is a recommended Auto Loader source.&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;Hope this clarifies your questions.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2026 13:50:58 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-07-13T13:50:58Z</dc:date>
    <item>
      <title>Clarification on Auto Loader Managed File Events with Unity Catalog Managed Volumes</title>
      <link>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162741#M5415</link>
      <description>&lt;P&gt;Hi Databricks Team,&lt;/P&gt;&lt;P&gt;I'm trying to understand how &lt;SPAN&gt;Auto Loader Managed File Events&lt;/SPAN&gt; work with &lt;SPAN&gt;Unity Catalog Managed Volumes&lt;/SPAN&gt;, and I'm looking for some clarification.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My understanding&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;I create an External Location: &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE EXTERNAL LOCATION app_ext_loc&lt;BR /&gt;URL 's3://my-bucket/catalog/cat1'&lt;BR /&gt;WITH (STORAGE CREDENTIAL my_storage_credential);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;I enable &lt;/SPAN&gt;&lt;SPAN&gt;File Events&lt;/SPAN&gt;&lt;SPAN&gt; on this External Location. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I create a &lt;/SPAN&gt;&lt;SPAN&gt;Managed Volume&lt;/SPAN&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;SPAN&gt;Managed Table&lt;/SPAN&gt;&lt;SPAN&gt; that uses managed storage under this External Location. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The physical storage becomes something like:&lt;/P&gt;&lt;P&gt;s3://my-bucket/catalog/cat1/__unitystorage/catalogs/&amp;lt;catalog-id&amp;gt;/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My confusion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The documentation says that enabling &lt;SPAN&gt;File Events&lt;/SPAN&gt; on an External Location configures S3 Event Notifications for the bucket/prefix and allows Auto Loader to use:&lt;/P&gt;&lt;P&gt;.option("cloudFiles.useManagedFileEvents", "true")&lt;/P&gt;&lt;P&gt;However, Managed Volumes and Managed Tables are stored under the internally managed __unitystorage path.&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Does Databricks configure S3 Event Notifications for the entire External Location prefix (for example, catalog/cat1/), so events are also generated for objects created under __unitystorage? &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If yes, can Auto Loader with cloudFiles.useManagedFileEvents=true be used to ingest data from a &lt;/SPAN&gt;&lt;SPAN&gt;Managed Volume&lt;/SPAN&gt;&lt;SPAN&gt;, or is this feature officially supported only for &lt;/SPAN&gt;&lt;SPAN&gt;External Volumes/External Locations&lt;/SPAN&gt;&lt;SPAN&gt;? &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If Managed Volumes are &lt;/SPAN&gt;&lt;SPAN&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; intended to use Managed File Events, what is the purpose of enabling File Events on an External Location that is also used as the managed storage location for Unity Catalog? &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is the recommended architecture: &lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;External Volume + Managed File Events&lt;/SPAN&gt;&lt;SPAN&gt; for ingestion from cloud storage &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Managed Volume + Directory Listing&lt;/SPAN&gt;&lt;SPAN&gt; for Databricks-managed storage? &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;&lt;P&gt;I'm looking for clarification on the intended architecture because the documentation on External Location File Events and Unity Catalog managed storage seems to overlap, and I'd like to understand the supported design pattern.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2026 03:35:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162741#M5415</guid>
      <dc:creator>APJESK</dc:creator>
      <dc:date>2026-07-13T03:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Auto Loader Managed File Events with Unity Catalog Managed Volumes</title>
      <link>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162810#M5422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.databricks.com/t5/user/viewprofilepage/user-id/170854" target="_blank"&gt;@APJESK&lt;/A&gt;,&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I am wondering if the main source of confusion is the name cloudFiles.useManagedFileEvents.&amp;nbsp;In the public docs, "managed" here refers to the Databricks-managed file-events service and cache layer, not to Unity Catalog managed volumes or the __unitystorage path. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-events-explained" rel="noopener noreferrer nofollow" target="_blank"&gt;Auto Loader with file events overview&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;explains that Databricks sets up cloud resources to listen for file events, processes those notifications, and then Auto Loader reads from that file-events cache when cloudFiles.useManagedFileEvents=true is set.&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;On your first question... at a high level, file events are configured at the external-location scope. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode" rel="noopener noreferrer nofollow" target="_blank"&gt;file notification mode docs&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;say Databricks uses a single file notification queue for all streams from a given external location, and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/connect/unity-catalog/cloud-storage/manage-external-locations" rel="noopener noreferrer nofollow" target="_blank"&gt;manage external locations docs&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;say enabling file events on an external location allows Databricks to configure S3-side notifications for that location.&amp;nbsp;So, if your managed storage is physically landing under s3://my-bucket/catalog/cat1/__unitystorage/..., as in your example, then it is still under the broader external-location prefix s3://my-bucket/catalog/cat1/ that you described. Because of that, object creates under __unitystorage would be within that same underlying external-location notification scope. That said, the public docs do not present __unitystorage as the intended Auto Loader ingestion target.&lt;/P&gt;
&lt;P&gt;On your second question...I would be careful not to treat that as official support for managed volumes as a managed-file-events source. The public docs consistently describe the source as an external location or a volume on an external location, and they specifically recommend creating a separate external volume for each ingest path and passing the volume path to Auto Loader. I do not see public documentation that explicitly positions managed volumes as an officially supported Auto Loader source for cloudFiles.useManagedFileEvents=true. If you do see that, can you please post the link to that page?&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;There is also a related signal in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/jobs/file-arrival-triggers" rel="noopener noreferrer nofollow" target="_blank"&gt;file arrival trigger docs&lt;/A&gt;... they explicitly say the monitored path must not contain managed locations of catalogs and schemas. That is a different feature from Auto Loader itself, but it points in the same direction and reinforces that Databricks is careful about treating Unity Catalog managed locations as event-driven file-ingestion sources.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwin_DSA_0-1783949919745.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28917i83A458D045404A1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ashwin_DSA_0-1783949919745.png" alt="Ashwin_DSA_0-1783949919745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;On your third question...the answer is that enabling file events is still valuable for workloads that read paths governed by that external location. The docs say it makes Auto Loader setup easier, enables incremental file discovery with notification-like performance, and improves file-arrival triggers for jobs. In other words, enabling file events on the external location is about improving ingestion and event-driven processing for that external-location-backed storage boundary. It is not the same thing as saying every path underneath that boundary is a recommended Auto Loader source.&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;Hope this clarifies your questions.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2026 13:50:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162810#M5422</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-07-13T13:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Auto Loader Managed File Events with Unity Catalog Managed Volumes</title>
      <link>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162832#M5424</link>
      <description>&lt;P&gt;The confusion here usually stems from overlapping two different architectural concepts: the "Landing Zone" (where raw data arrives) and "Managed Storage" (where Databricks governs the data lifecycle).&lt;/P&gt;&lt;P&gt;To address your questions directly:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Does Databricks configure S3 Event Notifications for the entire prefix, including __unitystorage?&lt;/STRONG&gt; Yes. When you enable File Events on an External Location at the cloud level, AWS S3 simply configures EventBridge/SQS for that entire prefix. Because __unitystorage sits under that prefix, S3 will technically generate cloud events for files added to Managed Volumes/Tables within that path.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Can Auto Loader use Managed File Events to ingest from a Managed Volume?&lt;/STRONG&gt; While technically events might be firing in the cloud, using Managed File Events to ingest from a Managed Volume is an &lt;STRONG&gt;anti-pattern&lt;/STRONG&gt; and is not the intended use case. Managed File Events are officially designed to ingest data from External Locations/External Volumes. By definition, Databricks governs the lifecycle of Managed Volumes. External systems (like your AWS Kinesis firehose, SFTP drops, or third-party apps) should &lt;I&gt;never&lt;/I&gt; be dropping raw files directly into the obscure __unitystorage path. Therefore, Auto Loader shouldn't need to listen for external file arrival events in a Managed Volume.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. What is the purpose of enabling File Events on an External Location used for Managed Storage?&lt;/STRONG&gt; Ideally, you shouldn't be doing this. It is a best practice to strictly separate your storage buckets (or at least your top-level prefixes):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Landing/Raw Bucket:&lt;/STRONG&gt; Configured as an External Location with File Events enabled. External systems drop data here.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Managed Bucket:&lt;/STRONG&gt; Configured as the root storage for your Unity Catalog/Schemas. File Events do not need to be enabled here because Databricks orchestrates all data movement into this location.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;4. Is your recommended architecture correct?&lt;/STRONG&gt; Yes, your assumption at the end is 100% correct. The best-practice design pattern is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Ingestion:&lt;/STRONG&gt; External Volume (pointing to your landing bucket) + Managed File Events -&amp;gt; Auto Loader -&amp;gt; Target Delta Table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Internal Storage:&lt;/STRONG&gt; Managed Volumes/Tables are used for internal Databricks processing, intermediate steps, or saving ML artifacts. If you ever &lt;I&gt;do&lt;/I&gt; need to read from a Managed Volume with Auto Loader, Directory Listing is the appropriate method, as the volume of files should be entirely controlled by internal Databricks processes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2026 15:04:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/clarification-on-auto-loader-managed-file-events-with-unity/m-p/162832#M5424</guid>
      <dc:creator>ShamenParis</dc:creator>
      <dc:date>2026-07-13T15:04:51Z</dc:date>
    </item>
  </channel>
</rss>

