Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 972 Bytes

notes.md

File metadata and controls

27 lines (23 loc) · 972 Bytes

Notes

What is a "Message-broker"?

"A message broker (also known as an integration broker or interface engine) is an intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver. [...]"

What is Pegasus?

Pegasus is a open-source minimum message broker written in Go

Key Features

  • Topic
    • This is a "named queue", where services can subscribe to.
  • Messages
    • Those are items sent/received to/from Topics.
    • Can have an expiration
  • Storage
    • We need to store the messages/topics somewhere.

Communication

  1. gRPC
  • Can subscribe to a bidirectional streaming "endpoint"
  • Need to generate the proto files for a given language (CLI ??)
  1. Streaming HTTP/2
  • Can subscribe to a bidirectional streaming "endpoint"
  • Client package for each language or a Swagger doc.
  1. Pegasus Protocol
  • TODO!
  • Client package for each language