--- title: "连接器快照" slug: "connector-snapshotting" updated: 2026-10-22T10:21:55Z published: 2026-10-22T10:21:55Z canonical: "support.tulip.co/connector-snapshotting" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 连接器快照 Rollout Ongoing This document provides information about a new feature added to our product. Please note that this feature might be disabled for certain instances. If you wish to enable this feature, please contact Support at Support@tulip.co. ## 概述 MQTT Connectors MQTT connector configurations are not snapshot during app/automation publication to avoid cases where multiple clients could attempt to connect with a duplicate Client ID simultaneously. New Restore Behavior Starting from r345, we will start introducing the new restore behavior. See the section below for more information. 连接器在 Tulip 应用程序的运行中发挥着至关重要的作用。与您的应用逻辑类似,发布后的稳定性维护是我们的首要任务。我们致力于确保对应用程序开发版本的任何更改都不会影响生产环境中的应用性能。 应用程序发布后,其中的连接器将被“快照”保存。这意味着发布后对现有连接器函数上下文所做的任何修改,都不会对车间中正在使用的应用程序产生负面影响。 启用连接器快照的手动发布功能后,您可以将新配置应用到已发布应用中使用的连接器上。 ![screely-1697557041460](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/screely-1697557041460.png) ## 快照和恢复行为的改进 Starting from r345, we will start introducing improvements to our current snapshotting behavior for connectors. This is a stepping stone for our upcoming versioning improvements. 从 r386 版本起,账户所有者可通过前往**“账户设置**”→**“连接器**”→**“快照行为**”,并切换“发布时创建快照”选项,来控制为已发布应用或自动化流程中使用的连接器函数创建快照的行为。此设置默认处于启用状态。 ### 应用 主要为了确保您的应用程序更精简、更灵活,我们将从发布和导入应用程序时开始对连接器功能(而非整个连接器)进行快照。 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image-VLF12LDM.png) 如上文所述,在恢复应用时,如果您未对连接器函数进行任何更改,我们将使用之前的快照。 如果您希望对函数进行修改,则有两种选择: - **选项 1:**在应用内创建并用该快照的副本替换该连接器函数。这意味着您的连接器中将生成一个新的连接器函数**(“函数 1 的副本”)**,该函数将在整个应用中被使用。**由于“函数 1 的副本”并非** 快照,您可以自由编辑该函数的开发版本。 ![Image](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image-T5O9JH3I.png) ![Image](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image-35GQV8A5.png) - **选项 2:**使用下拉菜单将快照函数更改为另一个连接器函数。 现在,您还可以在触发器编辑器中查看快照,以确保或了解连接器函数在实际使用中的行为。 ### 自动化 在自动化发布时,应用程序内的连接器函数会被创建快照。这意味着发布后对现有连接器函数上下文所做的任何修改,都不会对正在使用的自动化产生负面影响。 ### 应用/自动化流程的导入流程 无论是应用程序还是自动化,导入流连接器函数的处理路径均相似。有关新导入行为的更多信息,请参阅[此处](https://support.tulip.co/docs/connector-and-connector-function-import#connector-functions-new-import-behavior)。 ## 查看快照 要查看与特定应用版本相关的快照,请转至应用概览页面的“版本”选项卡。每个版本所使用的连接器将列在“资源”列中。 ![Snapshot View](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28161%29.png) 点击某个快照,即可访问该应用程序所用连接器版本的只读视图。这使您能够查看发布时连接器的配置情况。 ![Read-Only View](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28162%29.png) 我们希望这些说明能帮助您清楚了解连接器和快照在 Tulip 应用程序中的工作原理。