【发布时间】:2021-01-01 18:20:11
【问题描述】:
我要求每秒发送 1,00,000 批记录。我在实验后得到的是 azure 事件中心的字节数限制为 10,00,000 个事件。我的每条记录是 145 字节,我必须发送的总记录是 1,00,000,正如我上面已经提到的。所以,在数学上, 145 * 1,00,000 = 14500000 字节我想每秒发送的数据。
有人可以帮我解决这个问题吗?
现在,要发送此数据,我正在使用 azure 事件中心 SDK 并使用以下方法尝试发送数据: 等待 eventHubClient.SendAsync(ed); (ed 是 EventData 的对象,它有字节 UTf 8 格式的记录。)
但是,当我运行代码并执行上述行时(SendAsync () ) 我收到以下错误:
$exception
{Microsoft.Azure.EventHubs.MessageSizeExceededException: The received message (delivery-id:0, size:3922220 bytes) exceeds the limit (1046528 bytes) currently allowed on the link.
【问题讨论】:
标签: azure azure-eventhub