Reputation: 91
I have a requirement of sending 1,00,000 batch of records per second. What i got after experimenting is azure event hub has limit of 10,00,000 events in bytes. My each record is of 145 bytes and total records i have to send are 1,00,000 as i already mentioned above. So, mathematically, 145 * 1,00,000 = 14500000 bytes of data i want to send per second.
Can somebody help me with this ?
Now, to send this data i am using azure event hub SDK and using following method i am trying to send data : await eventHubClient.SendAsync(ed); (ed is the object of EventData which has records in bytes UTf 8 format.)
But, when i am running the code and executing the above line (SendAsync () ) i am getting the following error :
$exception
{Microsoft.Azure.EventHubs.MessageSizeExceededException: The received message (delivery-id:0, size:3922220 bytes) exceeds the limit (1046528 bytes) currently allowed on the link.
Upvotes: 3
Views: 8592
Reputation: 30035
You can not change it. The max size 1M is by design, you can consider reduce the size of your message.
You can take a look at reference here and here.
Upvotes: 3