You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/eventmesh/pluginamqp.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ The ZIP file can be downloaded [here]().
26
26
27
27
## Quick start
28
28
29
-
Once you have an up and running EventMesh server with `ProtocolAmqp` plugin enabled, you can start using any client compliant with the AMQP 1.0 protocol.
29
+
Once you have an up and running EventMesh server with `ProtocolAmqp` plugin enabled, you can start using any client compliant with the [AMQP 1.0 protocol](http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-complete-v1.0-os.pdf).
30
30
31
31
### Configure client and VPN
32
32
33
33
Before going further, a Virtual Private Network (VPN) and two clients must be configured.
34
-
Those information will be used to publish message and subscribe to one or more topic.
34
+
Those information will be used to publish message and subscribe to one topic.
35
35
36
36
Open a command prompt and create a topic named `default` :
Copy file name to clipboardExpand all lines: docs/documentation/eventmesh/pluginwebsocket.md
+175-1Lines changed: 175 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,178 @@ The ZIP file can be downloaded [here]().
22
22
23
23
## Quick start
24
24
25
-
TODO
25
+
Once you have an up and running EventMesh server with `ProtocolWebsocket` plugin enabled, you can start using any client compliant with the [WebSocket protocol](https://datatracker.ietf.org/doc/html/rfc6455).
26
+
27
+
### Configure client and VPN
28
+
29
+
Before going further, a Virtual Private Network (VPN) and two clients must be configured.
30
+
Those information will be used to publish message and subscribe to one topic.
31
+
32
+
Open a command prompt and create a topic named `default` :
Open your preferred web browser and browse the HTML file.
169
+
170
+
There are two blocks displayed in the UI.
171
+
172
+
Under the `Subscribe` block, enter the topic name for example `q1` and click on the button `Start subscription` to start listening messages coming from the topic `q1`.
173
+
174
+
Under the `Publish` block, enter the topic name `q1`, write a message and click on the `Send` button.
175
+
176
+
The message will be transferred to the EventMesh server and will be displayed in the HTML page.
177
+
178
+
The websocket plugin accepts two types of request.
0 commit comments