<?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: Decrease frequency of Databricks Asset Bundle API in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81337#M36272</link>
    <description>&lt;P&gt;Hey! &amp;nbsp;If the API is checking the job status too frequently, you might want to consider implementing a custom polling mechanism. Instead of relying on the default frequency, you can build a simple script or function that pauses for a longer interval before checking the status again. Another approach could be to handle retries more gracefully, so a temporary network issue doesn’t cause the job to fail outright. Also, check if there are any API parameters or settings in Databricks that allow for adjusting the polling interval. Good luck, and hope you find a solution!&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 14:19:44 GMT</pubDate>
    <dc:creator>Frank_Kennedy</dc:creator>
    <dc:date>2024-07-31T14:19:44Z</dc:date>
    <item>
      <title>Decrease frequency of Databricks Asset Bundle API</title>
      <link>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/80629#M36092</link>
      <description>&lt;P&gt;We are using DABs for our deployment and to invoke any workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Behinds the scenes, it calls below API to get the status of workflow. Currently, it checks every few seconds. Is there a way to decrease this frequency from seconds to minutes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET /api/2.1/jobs/runs/get?&lt;/P&gt;&lt;P&gt;Why ?&lt;BR /&gt;Sometimes Job running in controlm fails with internal error due to network blip but workflow keeps executing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 01:09:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/80629#M36092</guid>
      <dc:creator>Neli</dc:creator>
      <dc:date>2024-07-26T01:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Decrease frequency of Databricks Asset Bundle API</title>
      <link>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81322#M36268</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;.&amp;nbsp; Yes,custom polling mechanism is one option. Question for you, it means there is no way to override polling frequency of DAB API calls.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Behind the scenes,DAB calls below APIs :&lt;/P&gt;&lt;P&gt;GET /api/2.0/preview/scim/v2/Me&amp;nbsp;&lt;BR /&gt;GET /api/2.0/workspace/get-status?path=/Workspace/datapipeline/deployments/bundles/prod/data-pipeline/state/terraform.tfstate&amp;nbsp;&lt;BR /&gt;GET /api/2.0/workspace/export?direct_download=true&amp;amp;path=/Workspace/datapipeline/deployments/bundles/prod/data-pipeline/state/terraform.tfstate&lt;BR /&gt;POST /api/2.1/jobs/run-now&amp;nbsp;&lt;BR /&gt;GET /api/2.1/jobs/runs/get?run_id=410841*******&lt;BR /&gt;GET /api/2.1/jobs/runs/get-output?run_id=410841******&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 13:06:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81322#M36268</guid>
      <dc:creator>Neli</dc:creator>
      <dc:date>2024-07-31T13:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Decrease frequency of Databricks Asset Bundle API</title>
      <link>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81337#M36272</link>
      <description>&lt;P&gt;Hey! &amp;nbsp;If the API is checking the job status too frequently, you might want to consider implementing a custom polling mechanism. Instead of relying on the default frequency, you can build a simple script or function that pauses for a longer interval before checking the status again. Another approach could be to handle retries more gracefully, so a temporary network issue doesn’t cause the job to fail outright. Also, check if there are any API parameters or settings in Databricks that allow for adjusting the polling interval. Good luck, and hope you find a solution!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:19:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81337#M36272</guid>
      <dc:creator>Frank_Kennedy</dc:creator>
      <dc:date>2024-07-31T14:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Decrease frequency of Databricks Asset Bundle API</title>
      <link>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81342#M36276</link>
      <description>&lt;P&gt;Sorry Frank, it comes as bundle. We dont have option to customise DAB.&amp;nbsp; Definitely we can build custom script which can invoke same set of APIs with longer interval.&amp;nbsp; Thank you for reviewing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:51:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/decrease-frequency-of-databricks-asset-bundle-api/m-p/81342#M36276</guid>
      <dc:creator>Neli</dc:creator>
      <dc:date>2024-07-31T14:51:19Z</dc:date>
    </item>
  </channel>
</rss>

