Azure / Azure/azure-sdk-for-rust

Support for AMQP-over-Websocket in azure_messaging_eventhubs

Open
#3,601 0 comments 0 reactions 1 assignee Claimed by @j7nw4r View on GitHub
customer-reported Event Hubs needs-team-attention
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 19h
Merged PRs (30d)
109

Description

### Feature Summary

Being able to produce or consume messages to/from EvenHubs using AMQP-Over-Websockets

### Feature Description

Azure EventHubs typically uses AMQP as protocol, which relies on ports 5671 and 5672. These ports are not always open witin corporate settings, and therefor Azure EventHubs also supports "AMQP-over-WebSockets" which uses port 443. This is incredibly useful during development.

Other Azure SDKs provide a way to specify a transport type (for example [Python](https://github.com/Azure/azure-sdk-for-python/blob/bbc7bcd27ded6549056d1fac36ac00729a8c245c/sdk/eventhub/azure-eventhub/azure/eventhub/_consumer_client.py#L86), [.NET](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/eventhub/Azure.Messaging.EventHubs/samples/Sample02_EventHubsClients.md#using-web-sockets)).

It would be useful if we could have the same functionality in the Rust SDK as well.

### Use Case

Using EventHubs in a corporate setting where ports are not open for the AMQP protocol.

### Alternatives

Not using eventhubs here.

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.