• <i id='2QBKC'><tr id='2QBKC'><dt id='2QBKC'><q id='2QBKC'><span id='2QBKC'><b id='2QBKC'><form id='2QBKC'><ins id='2QBKC'></ins><ul id='2QBKC'></ul><sub id='2QBKC'></sub></form><legend id='2QBKC'></legend><bdo id='2QBKC'><pre id='2QBKC'><center id='2QBKC'></center></pre></bdo></b><th id='2QBKC'></th></span></q></dt></tr></i><div id='2QBKC'><tfoot id='2QBKC'></tfoot><dl id='2QBKC'><fieldset id='2QBKC'></fieldset></dl></div>

  • <small id='2QBKC'></small><noframes id='2QBKC'>

    <legend id='2QBKC'><style id='2QBKC'><dir id='2QBKC'><q id='2QBKC'></q></dir></style></legend>
      <bdo id='2QBKC'></bdo><ul id='2QBKC'></ul>
    <tfoot id='2QBKC'></tfoot>

      1. Azure Functions:仅为新事件配置 blob 触发器

        Azure Functions: configure blob trigger only for new events(Azure Functions:仅为新事件配置 blob 触发器)
      2. <small id='sqcZv'></small><noframes id='sqcZv'>

        • <bdo id='sqcZv'></bdo><ul id='sqcZv'></ul>

          <tfoot id='sqcZv'></tfoot>

            • <legend id='sqcZv'><style id='sqcZv'><dir id='sqcZv'><q id='sqcZv'></q></dir></style></legend>

                  <tbody id='sqcZv'></tbody>

                <i id='sqcZv'><tr id='sqcZv'><dt id='sqcZv'><q id='sqcZv'><span id='sqcZv'><b id='sqcZv'><form id='sqcZv'><ins id='sqcZv'></ins><ul id='sqcZv'></ul><sub id='sqcZv'></sub></form><legend id='sqcZv'></legend><bdo id='sqcZv'><pre id='sqcZv'><center id='sqcZv'></center></pre></bdo></b><th id='sqcZv'></th></span></q></dt></tr></i><div id='sqcZv'><tfoot id='sqcZv'></tfoot><dl id='sqcZv'><fieldset id='sqcZv'></fieldset></dl></div>
                  本文介绍了Azure Functions:仅为新事件配置 blob 触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的 Azure 存储中有大约 80 万个 Blob.当我使用 blobTrigger 创建 azure 函数时,它开始处理我在存储中拥有的所有 blob.如何将我的函数配置为仅针对新的和更新的 blob 触发?

                  I have about 800k blobs in my azure storage. When I create azure function with a blobTrigger it starts to process all blobs that I have in the storage. How can I configure my function to be triggered only for new and updated blobs?

                  推荐答案

                  目前没有办法做到这一点.在内部,我们通过将收据存储在我们的控制容器 azure-webjobs-hosts 中来跟踪我们处理了哪些 blob.任何没有收据的 blob 或旧收据(基于 blob ETag)都将被处理(或重新处理).这就是您现有的 blob 正在处理的原因 - 它们没有收据.BlobTrigger 目前旨在确保最终处理与路径模式匹配的容器中的所有 blob,并在它们更新时重新处理.

                  There is no way to do this currently. Internally we track which blobs we have processed by storing receipts in our control container azure-webjobs-hosts. Any blob not having a receipt, or an old receipt (based on blob ETag) will be processed (or reprocessed). That's why your existing blobs are being processed - they don't have receipts. BlobTrigger is currently designed to ensure that ALL blobs in a container matching the path pattern are eventually processed, and reprocessed any time they are updated.

                  如果您对此充满热情,可以在我们的存储库中记录功能请求这里 详细说明您的方案.

                  If you feel passionately about this, you can log a feature request in our repo here with details on your scenario.

                  这篇关于Azure Functions:仅为新事件配置 blob 触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Populate ListBox with a IEnumrable on another thread (winforms)(在另一个线程(winforms)上使用 IEnumrable 填充 ListBox)
                  listbox selected item give me quot; System.Data.DataRowViewquot; , C# winforms(列表框选择的项目给我quot;System.Data.DataRowView, C# Winforms)
                  Cannot remove items from ListBox(无法从列表框中删除项目)
                  Preventing ListBox scrolling to top when updated(更新时防止列表框滚动到顶部)
                  Drag and drop from list to canvas on windows phone with MVVM(使用 MVVM 在 Windows 手机上从列表拖放到画布)
                  Deselection on a WPF listbox with extended selection mode(具有扩展选择模式的 WPF 列表框上的取消选择)
                • <legend id='Qz3Kc'><style id='Qz3Kc'><dir id='Qz3Kc'><q id='Qz3Kc'></q></dir></style></legend>

                  <i id='Qz3Kc'><tr id='Qz3Kc'><dt id='Qz3Kc'><q id='Qz3Kc'><span id='Qz3Kc'><b id='Qz3Kc'><form id='Qz3Kc'><ins id='Qz3Kc'></ins><ul id='Qz3Kc'></ul><sub id='Qz3Kc'></sub></form><legend id='Qz3Kc'></legend><bdo id='Qz3Kc'><pre id='Qz3Kc'><center id='Qz3Kc'></center></pre></bdo></b><th id='Qz3Kc'></th></span></q></dt></tr></i><div id='Qz3Kc'><tfoot id='Qz3Kc'></tfoot><dl id='Qz3Kc'><fieldset id='Qz3Kc'></fieldset></dl></div>
                    <tbody id='Qz3Kc'></tbody>

                      <bdo id='Qz3Kc'></bdo><ul id='Qz3Kc'></ul>

                        <small id='Qz3Kc'></small><noframes id='Qz3Kc'>

                        <tfoot id='Qz3Kc'></tfoot>