At this moment, 1MB is the max size length. You can get more information about it in the official doc:
https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I encountered an error while attempting to send a message larger than 1MB to Event Hub. The error message received was: "The message (id: 99xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx7c, size: 11400086 bytes) exceeds the current allowable limit (1048576 bytes)." How can I successfully transmit a message larger than 1MB to Event Hub as a single event?
At this moment, 1MB is the max size length. You can get more information about it in the official doc:
https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas
Hello @Shaik Rubina Sultana ,
as seen in the documentation 1MB is the maximum size, for all tiers:
This is a hard limit.
You could split up the message into different parts of 1 MB, you could use another storage solution (eg. Azure Blob storage) to store the content of your message and only send a notification to the receiver where the data can be picked up, or you move over to Azure Service bus which supports larger messages:
Service Bus messaging services (queues and topics/subscriptions) allow application to send messages of size up to 256 KB (standard tier) or 100 MB (premium tier).
Moving over to EventGrid is not an option, it has the same message size limit.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.