Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Course Task] doc-servicebus #284

Merged
merged 1 commit into from
Dec 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)