Skip to content

c16a/microq

Repository files navigation

microq

A tiny event broker.

Features

  • Websocket support
  • TCP support
  • Grouped subscriptions
  • Offline messages
  • Clustering
  • QoS (0, 1, 2)
  • Topics & Patterns

Subscriptions

Topics and patterns are heavily inspired by NATS's subject-based messaging.

Unsub and Sub actions set on clients are applied in that order.

# Sample algorithm only
SUB us.*
UNSUB us.payments
PUB us.accounts -> this will still be received by client
PUB us.payments -> this will not be received
SUB us.payments
PUB us.payments -> this will now be received

Why does this exist?

Because.