Skip to content

Commit

Permalink
[Course Task] doc-servicebus
Browse files Browse the repository at this point in the history
Signed-off-by: xian-jie.shen <[email protected]>
  • Loading branch information
jxs1211 committed Dec 16, 2022
1 parent 8d77a0e commit c32e883
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/architecture/edge/servicebus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ toc: true
type: docs
---
## Overview
ServiceBus is a HTTP client to interact with HTTP servers (REST), offering HTTP client capabilities to components of the cloud to reach HTTP servers running at edge.
ServiceBus is an HTTP client to interact with HTTP servers (REST), offering HTTP client capabilities to components of the cloud to reach HTTP servers running at the edge.

The design is exactly similar to that of EventBus.

EventBus is used to communicate with applications running on edge via MQTT. Similarly, ServiceBus is used to communicate with applications running on edge via HTTP.

## Working
- Cloud sends a beehive message to Edge via CloudHub.
- EdgeHub receives the messages and gives it to ServiceBus.
- ServiceBus just makes the http call and sends the response to the cloud via EdgeHub.
- EdgeHub receives the messages and sends them to ServiceBus.
- ServiceBus just makes the HTTP call and sends the response to the cloud via EdgeHub.

![ServiceBus flowchart](/img/servicebus/servicebus-flowchart.png)

0 comments on commit c32e883

Please sign in to comment.