Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
migrate
command
Command migrate is the operational entry point for schema migrations.
|
Command migrate is the operational entry point for schema migrations. |
|
mqtt2db-go
command
Command mqtt2db-go is the entry point for the ingest service.
|
Command mqtt2db-go is the entry point for the ingest service. |
|
internal
|
|
|
buffer
Package buffer implements the in-memory ring between the MQTT subscriber and the Postgres flusher.
|
Package buffer implements the in-memory ring between the MQTT subscriber and the Postgres flusher. |
|
config
Package config parses, validates, and exposes the runtime configuration for mqtt2db-go.
|
Package config parses, validates, and exposes the runtime configuration for mqtt2db-go. |
|
deadletter
Package deadletter persists messages that exhausted retries against PostgreSQL.
|
Package deadletter persists messages that exhausted retries against PostgreSQL. |
|
flusher
Package flusher pulls batches from the ring (and the WAL) and pushes them to PostgreSQL.
|
Package flusher pulls batches from the ring (and the WAL) and pushes them to PostgreSQL. |
|
health
Package health serves /healthz and /readyz on a separate HTTP listener from /metrics so a slow scrape can't block readiness.
|
Package health serves /healthz and /readyz on a separate HTTP listener from /metrics so a slow scrape can't block readiness. |
|
logging
Package logging builds the process-wide *slog.Logger from config.LoggingConfig.
|
Package logging builds the process-wide *slog.Logger from config.LoggingConfig. |
|
metrics
Package metrics owns the Prometheus registry for mqtt2db-go.
|
Package metrics owns the Prometheus registry for mqtt2db-go. |
|
postgres
Package postgres owns the durability boundary for mqtt2db-go.
|
Package postgres owns the durability boundary for mqtt2db-go. |
|
subscriber
Package subscriber owns the MQTT side of mqtt2db-go.
|
Package subscriber owns the MQTT side of mqtt2db-go. |
|
version
Package version exposes build-time identity for the binary.
|
Package version exposes build-time identity for the binary. |
|
wal
Package wal is the on-disk overflow log for messages that have been accepted by the MQTT subscriber but not yet persisted to PostgreSQL.
|
Package wal is the on-disk overflow log for messages that have been accepted by the MQTT subscriber but not yet persisted to PostgreSQL. |
|
test
|
|
|
loadgen
command
Command loadgen synthesizes MQTT traffic against a broker so we can stress mqtt2db-go end-to-end.
|
Command loadgen synthesizes MQTT traffic against a broker so we can stress mqtt2db-go end-to-end. |
Click to show internal directories.
Click to hide internal directories.