Skip to content
simsirli.dev

← All work

Case study · 2021

RabbitMQ Helper Package

A Go package that simplifies RabbitMQ service wiring without hiding the important parts.

  • Go
  • Messaging
  • Package

Problem

RabbitMQ setup code tends to sprawl — connections, channels, declares, and retry paths copy-pasted across services.

Approach

Extracted a focused helper package that makes the common path short while keeping failure modes visible. Convenience without a black box.

Architecture

  • Thin helpers around connection lifecycle
  • Clear configuration surface
  • Call sites still own business routing decisions

Outcome

Reusable messaging glue for Go services, written the way I want dependencies to behave: helpful, not clever.