Skip to content

Commit 0566063

Browse files
committed
Demonstrate Event hubs is the only supported event listener endpoint
1 parent bee6f25 commit 0566063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-web-pubsub/reference-cloud-events-amqp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ms.date: 09/30/2022
1010

1111
# CloudEvents extension for Azure Web PubSub event listener with AMQP protocol
1212

13-
The Azure Web PubSub Service describes client events as [CloudEvents](https://github.com/cloudevents/spec/tree/v1.0.2). CloudEvents is a specification for describing event data in common formats to provide interoperability across services, platforms and systems.
13+
The Azure Web PubSub Service describes client events as [CloudEvents](https://github.com/cloudevents/spec/tree/v1.0.2). CloudEvents is a specification for describing event data in common formats to provide interoperability across services, platforms and systems.
1414

15-
The Web PubSub service uses [CloudEvents AMQP protocol binding](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/bindings/amqp-protocol-binding.md) as an event listener to map CloudEvents to AMQP messages ([Advanced Message Queueing Protocol](http://docs.oasis-open.org/amqp/core/v1.0/amqp-core-overview-v1.0.html)).
15+
The event listeners of the service listen to client events. Event Hubs is currently the only supported event listener endpoint, whose primary protocol is AMQP ([Advanced Message Queueing Protocol](http://docs.oasis-open.org/amqp/core/v1.0/amqp-core-overview-v1.0.html)). The Web PubSub service uses [CloudEvents AMQP protocol binding](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/bindings/amqp-protocol-binding.md) to map CloudEvents to AMQP messages.
1616

1717
The data sent from service to server is always in CloudEvents `binary` format.
1818

@@ -102,7 +102,7 @@ Message body is what the client sends.
102102
- `content-type`: `application/octet-stream` for binary frame; `application/json` for JSON frame; `text/plain` for text frame; `application/x-protobuf` for Protobuf frame;
103103
- `cloudEvents:type`: `azure.webpubsub.user.<event_name>`
104104

105-
The following cases show how to send events with different data content types and the corresponding Event Hubs message bodies.
105+
The following cases show how to send events with different data content types and the corresponding AMQP message bodies.
106106

107107
#### Case 1: send event with text data:
108108
```json

0 commit comments

Comments
 (0)