事件HUb消息的确切字节数是多少?

问题描述

我知道Microsoft文档说1MB

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-programming-guide#batch-event-send-operations

但准确地说,是: 1000000 个字节还是2 ^ 20个 1048576 字节

关于卡夫卡,我们需要更具体些。

解决方法

这表示2 ^ 20 1048576字节。

您可以轻松对其进行测试。我使用SDK并发送了一条大消息,您可以看到以下异常:

enter image description here

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...