How to interpret the maximum message size of Azure Event Hubs

Vorbach, Paul 26 Reputation points
2021-05-11T07:48:14.57+00:00

The Event Hubs FAQ section states that the maximum message size of the standard tier Event Hubs is 1MB.

I'd like to know if this is actually in MiB, so 1,048,576 bytes or if it's using factor 1000, so 1,000,000 bytes.

And I'd like to know if all meta information is included in that byte count or if the limit is only on the raw message content (i.e. without AMQP headers or Kafka Headers in the case we're using the Kafka API).

Thanks!

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
568 questions
{count} vote

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 79,381 Reputation points Microsoft Employee
    2021-05-17T03:46:17.133+00:00

    Hello @Vorbach, Paul ,

    Thanks for the question and using Microsoft Q&A platform.

    It is 1,048,576 bytes and it includes payloads and all metadata.

    Hope this helps. Do let us know if you any further queries.

    ------------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anita A 105 Reputation points
    2024-01-04T10:14:33.8233333+00:00

    Hello, is the answer from above confirmed?

    It is 1,048,576 bytes and it includes payloads and all metadata.

    Because I am getting "Message to long" for everything that is above 999,960 bytes.