【问题标题】:Is it possible for the Azure Scheduler to send messages to Azure Service Bus in Avro format?Azure 调度程序是否可以以 Avro 格式向 Azure 服务总线发送消息?
【发布时间】:2018-06-21 11:40:41
【问题描述】:

Azure 调度程序 (https://docs.microsoft.com/en-us/azure/scheduler/scheduler-get-started-portal#see-also) 是否可以以 Avro 格式向 Azure 服务总线发送消息?

【问题讨论】:

    标签: azureservicebus azure-scheduler


    【解决方案1】:

    Azure 调度程序支持将任何原始输入消息发送到服务总线队列。您应该能够在创建作业时手动将消息格式化为 Avor 格式;但调度程序不提供任何格式。

    【讨论】:

      【解决方案2】:

      从 Azure 调度程序发送的消息接受字符串作为输入 check the object for reference。由于 Avro 格式以二进制格式存储 JSON 数据,因此可以将序列化的 JSON 作为消息从调度程序发送。反序列化后的消息可以在客户端转换为 Avro 格式,接收消息。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-08-28
        • 1970-01-01
        相关资源
        最近更新 更多