我正在努力
Create a Azure function in Python on Visual Studio Code to trigger queue.
我也在努力
Get data from queue and save messages from queue in sql server using python.
有人可以帮忙吗?
最佳答案
Create a Azure function in Python on Visual Studio Code to trigger queue.
1、Azure Functions开发主要需要两个东西:语言环境和Azure Functions核心工具。
总步骤:
https://learn.microsoft.com/en-us/azure/developer/python/tutorial-vs-code-serverless-python-01
2、没有简单的方法可以从azure队列存储中获取消息。本文档将告诉您每个步骤和基本概念:
https://learn.microsoft.com/en-us/azure/storage/queues/storage-quickstart-queues-python
Get data from queue and save messages from queue in sql server using python.
与其他简单的Python脚本一样,您可以按照以下步骤操作:
https://datatofish.com/how-to-connect-python-to-sql-server-using-pyodbc/
从队列获取消息并将消息放入sql数据库的代码需要放入函数体中。
关于python-3.x - 在 Visual Studio Code 上使用 Python 创建 Azure 函数以触发队列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63226244/