Skip to content

Commit

Permalink
Merge pull request #284 from jxs1211/doc-servicebus
Browse files Browse the repository at this point in the history
[Course Task] doc-servicebus
  • Loading branch information
kubeedge-bot authored Dec 22, 2022
2 parents 3ccf920 + c32e883 commit dd10f14
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 dd10f14

Please sign in to comment.