Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bench
command
Command bench load-tests a gombus broker (or cluster front node).
|
Command bench load-tests a gombus broker (or cluster front node). |
|
broker
command
Command broker runs a gombus broker node, optionally as part of a raft cluster.
|
Command broker runs a gombus broker node, optionally as part of a raft cluster. |
|
examples
|
|
|
fanout
command
Example fanout: a queue group under the "fanout." prefix delivers to every member instead of load balancing.
|
Example fanout: a queue group under the "fanout." prefix delivers to every member instead of load balancing. |
|
jetstream
command
Example jetstream: publish to a stream, consume with pull and push.
|
Example jetstream: publish to a stream, consume with pull and push. |
|
pubsub
command
Example pubsub: publish and subscribe to a subject.
|
Example pubsub: publish and subscribe to a subject. |
|
queue-group
command
Example queue-group: two subscribers in one queue group split the load.
|
Example queue-group: two subscribers in one queue group split the load. |
|
request-reply
command
Example request-reply: a service responds to requests on a subject.
|
Example request-reply: a service responds to requests on a subject. |
|
internal
|
|
|
client
Package client is the Go client library for gombus brokers.
|
Package client is the Go client library for gombus brokers. |
|
cluster
Package cluster implements the M4 control plane: a hashicorp/raft group replicating the ClusterState image (membership, subscriptions, delivery rules, stream/consumer metadata and cursors).
|
Package cluster implements the M4 control plane: a hashicorp/raft group replicating the ClusterState image (membership, subscriptions, delivery rules, stream/consumer metadata and cursors). |
|
protocol
Package protocol defines the wire contract between clients, brokers and the admin surface: event names, payload structs and error codes.
|
Package protocol defines the wire contract between clients, brokers and the admin surface: event names, payload structs and error codes. |
|
storage
Package storage implements the local segment log backing stream persistence: append-only segment files with a sparse in-memory index, plus retention-aware pruning.
|
Package storage implements the local segment log backing stream persistence: append-only segment files with a sparse in-memory index, plus retention-aware pruning. |
Click to show internal directories.
Click to hide internal directories.