简体   繁体   English

Kafka主题中的消息时如何触发Azure功能

[英]How to trigger azure function when there is a message in Kafka topic

I am new to azure function and Kafka. 我是天蓝色函数和Kafka的新手。

I would like to know whether it is possible to trigger azure function when there is message in the Kafka topic? 我想知道当Kafka主题中有消息时是否可以触发azure函数?

Thanks 谢谢

Azure Functions need a trigger defined in order to run. Azure Functions需要定义一个触发器才能运行。 There is a limited set of supported trigger types, and Kafka is not one of them. 受支持的触发器类型数量有限,而Kafka并不是其中之一。

In order to consume messages from Kafka, you would first need to send them to a supported source (eg Azure Event Hubs) and configure Functions to listen to that new source. 为了使用来自Kafka的消息,您首先需要将它们发送到受支持的源(例如Azure事件中心),然后将Function配置为侦听该新源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Azure函数中将ServiceBus触发器与主题/订阅一起使用 - How to use a ServiceBus Trigger with a topic/subscription in an Azure Function 如何只获取Kafka主题的最新消息? - How to get only the latest message of a Kafka topic? 无法从 Azure Function 发送到 Kafka 主题(Confluent Cloud) - Unable to send to Kafka topic (Confluent Cloud) from Azure Function 如何在Azure主题中取消计划的消息 - How to Cancel scheduled Message in Azure Topic 如何在Kafka中创建用于延迟重发消息的结构 - How to create structure in Kafka for delay resending message in topic Azure 队列触发器 function 应用程序如何仅在完成另一个队列消息后选择消息 - how Azure queue trigger function app can pick message after completion of another queue message only 几天后消息进入服务总线队列时,不会触发 Azure 函数 - Azure function is not get trigger when message comes into service bus queue after some days 如何在Azure Service Bus主题上删除DeadLetter消息 - How do I delete a DeadLetter message on an Azure Service Bus Topic 如何编写用于向 Azure ServiceBus 主题发送消息的单元测试代码? - How to Write unit test Code for sending Message to Azure ServiceBus Topic? Azure 服务总线主题,并非所有订阅都从 C# Azure 函数方法触发 - Azure Service Bus Topic, not all subscriptions trigger from C# Azure Function Method
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM