1

有关重试的文档指出,在预定义的 2 小时重试期(服务 GA 时为 24 小时)后,重试被占用。未成功传递的事件会发生什么?有没有办法使用 Storage blob 之类的东西来存储它们?

4

2 回答 2

3

I'm a Microsoft Program Manager working on the Azure Event Grid team. The documentation is correct, while in preview the service will drop messages that are not delivered in 2 hours. When we make this service generally available (no set date yet as of typing this) or even before we will increase this time to 24 hours. The idea you have for storing messages in Blob Storage is something we are strongly considering before we make this service generally available.

于 2017-08-18T17:25:43.297 回答
1

Azure EventGrid现在是 GA后的更新:

从文档(事件网格消息传递和重试):

事件网格使用指数退避重试策略进行事件传递。

事件网格为所有重试步骤添加了一个小的随机化。一小时后,将每小时重试一次事件传递。

默认情况下,事件网格会使所有未在 24 小时内交付的事件过期。您可以在创建事件订阅时自定义重试策略。您提供最大传递尝试次数(默认为 30)和事件生存时间(默认为 1440 分钟)。

当事件网格无法传递事件时,它可以将未传递的事件发送到存储帐户。这个过程被称为死信。默认情况下,事件网格不会打开死信。要启用它,您必须在创建事件订阅时指定一个存储帐户来保存未传递的事件。您从此存储帐户中提取事件以解决交付问题。

有关设置死信位置的示例,请参阅死信和重试策略

于 2019-01-08T06:18:33.630 回答