> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure Event Hubs AMQP partition capture

> Capture the retained events of one Azure Event Hubs partition over AMQP 1.0.

Use the [Streams socket mount](https://docs.bijection.com/integrations/native-kafka.md#mount-and-start)
with `azureAmqpReceiver(endpoint, credential, data)`. Bind the
namespace's reviewed DNS endpoint, for example
`inventory.servicebus.windows.net:5671`, to the Streams app's `broker`.
Initialize with `{ mode: "amqp10" }`. Pass the same label to the receiver binder and as the app's `data`.

Seal the JSON for a Shared Access Signature policy with Listen rights.
Use the named policy and its base64 key. Select one consumer group and
one partition in an event hub with ordinary retention.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "keyName": "InventoryListen",
  "key": "<shared access key>",
  "entity": "orders",
  "source": { "kind": "eventHubs", "consumerGroup": "$Default", "partition": 0 }
}
```

The profile uses AMQP 1.0 over direct, hostname-verified TLS on port 5671.
It uses SASL ANONYMOUS followed by an entity-scoped signed SAS claim over
`$cbs`. It reads the event hub's creation time and partition bounds over
`$management`, then grants one unit of credit on the reviewed partition
link using a sequence selector. The driver accepts up to 24 KiB of binary
AMQP Data. The installation commits the sealed File with the exact partition
sequence and decimal provider offset. It owns the checkpoint for the
installed consumer group and starts at the earliest retained event.

A changed hub, retention past the next sequence, or an unexpected
sequence stops advancement and requires review. A page with no new
events leaves the position where it was. Earlier events stay
published. The profile is for non-compacted partitions. It uses neither
Kafka metadata nor broker-managed checkpoints, and follows no broker
redirect. Private namespaces require a reachable direct route.

[Azure AMQP transport](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide) ·
[Event Hubs AMQP partition addressing](https://azure.github.io/amqpnetlite/articles/azure_eventhubs.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.