Multiple triggers for an Azure Function

三世轮回 提交于 2020-01-13 08:04:01

问题


We have an Azure Function that has an event hub trigger. Is it possible to have a trigger on more than one event hub for the same Azure Function?


回答1:


No, this is not a supported scenario at the moment.

From comments (Ling Toh Jan 18 '17 at 18:23): There are no plans to support multiple triggers per Function. You will have to create a Function for each EventHub. If there is common code that may be shared between Functions, you may move them to a helper method that can be called from each Function.



来源:https://stackoverflow.com/questions/41695474/multiple-triggers-for-an-azure-function

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!