# Azure Event Hub

Azure Event Hubs is a native data-streaming service in the cloud that can stream millions of events per second, with low latency, from any source to any destination. Event Hubs is compatible with Apache Kafka. It enables you to run existing Kafka workloads without any code changes.

Businesses can use Event Hubs to ingest and store streaming data. By using streaming data, businesses can gain valuable insights, drive real-time analytics, and respond to events as they happen.

<figure><img src="/files/roESKzu6N6nzWwVR9g6J" alt=""><figcaption></figcaption></figure>

* Messages will be stored 7 days.
* Big data streaming platform and event ingestion service.
* Data sent to an event hub can be transformed and stored by using any real time analytics provider or batching/storage adapters.
* up to 32 partitions allowed - if you want more talk to Microsoft.
* all events stored in the partition
* we can define the partition key to store the events to specific partition
* namespace - event hub name space a container - we can have n number of event hubs inside the event hub namespace.
* consumer group is consuming the data from event hub
* Offset - consumer reading the data in between some issue - will create the checkpoint and again issues resolved consumer will not read the data again will read only rest amount of data.
* older to newer - will store
* event capture - if you want to store the data you can use event capture to capture and store the data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://azure.kasinathanramesh.vip/azure-event-hub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
