RabbitMQ Messaging Taste

RabbitMQ Messaging Taste

Gives an AI assistant confidence-weighted RabbitMQ rules: durable quorum queues, publisher confirms, manual acks, idempotent consumers, dead letters and retries.

RabbitMQ Messaging taste of an engineer who wants every message accounted for

  • Declare exchanges, queues and bindings in code or a definitions file at startup, never by hand in the management UI. Confidence: 0.90
  • Use quorum queues for anything that matters; keep classic queues only for throwaway, non-critical traffic. Confidence: 0.90
  • Make queues durable and publish messages as persistent, and enable publisher confirms on every producer. Confidence: 0.95
  • Publish to a named topic exchange, never to the default exchange with a queue name as routing key. Confidence: 0.80
  • Use routing keys shaped like domain.entity.event (orders.order.created) so consumers bind with wildcards. Confidence: 0.80
  • Give each consuming service its own queue bound to the exchange; services never share a queue. Confidence: 0.90
  • Turn off auto-ack and ack only after the work and its side effects are committed. Confidence: 0.95
  • Set a prefetch (basic.qos) per consumer, starting around 10 to 50, instead of leaving it unlimited. Confidence: 0.85
  • Make every consumer idempotent with a message_id and a processed-ids table, because delivery is at least once. Confidence: 0.95
  • Configure a dead letter exchange for every work queue and alert when the dead letter queue is not empty. Confidence: 0.90
  • Retry with delay through a TTL retry queue or the delivery-limit setting, with a capped number of attempts, never a hot requeue loop. Confidence: 0.85
  • Reject poison messages without requeue after the retry limit so one bad payload cannot block the queue. Confidence: 0.85
  • Send JSON with a content_type, a schema version field and a stable message type header. Confidence: 0.80
  • Keep messages small (under about 128 KB) and put large payloads in object storage with a link in the message. Confidence: 0.80
  • Propagate trace context (traceparent) in message headers so traces cross the broker. Confidence: 0.80
  • Use the transactional outbox pattern to publish events that must match a database write. Confidence: 0.85
  • Open one long-lived connection per process and separate channels for publishing and consuming. Confidence: 0.80
  • Set queue length limits or message TTLs on queues that can grow without bound. Confidence: 0.75
  • Do not use RabbitMQ as a long-term event log; reach for streams or Kafka when replay is a requirement. Confidence: 0.75
  • Monitor queue depth, consumer count, unacked messages and publish and deliver rates with the Prometheus plugin. Confidence: 0.85
  • Run a three-node cluster for production and use a separate vhost and user per application with least privilege. Confidence: 0.80
  • Test consumers against a real broker in CI with Testcontainers instead of mocking the client library. Confidence: 0.75

Public domain (CC0 1.0) · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,250 prompts

More by @OpenSourceBuffGuy

See all
Four Portraits Peeking Through Yellow Paper prompt image

Four Portraits Peeking Through Yellow Paper

Creates a 2x2 grid of four young men peeking through ripped holes in bright yellow paper, in a 1990s indie-band studio editorial style.

image-prompt, nano-banana, multi-panel, collage, photorealistic, editorial, portrait, man, group-photo, studio-lighting, soft-lighting, vibrant-colors, split-screen, cinematic, indie, fashion, symmetry, bokeh, square-format

Empty vintage bedroom with amber lamp and clothing rack prompt image

Empty vintage bedroom with amber lamp and clothing rack

Turns a reference photo of a woman into a 15-second Y2K pixel dress-up game video with instant outfit changes, a closet menu and a style score.

video-prompt, image-to-video, visual-effects, pixel-art, fashion, timed-beats, reference-image, face-reference, character-consistency, negative-prompt, seedance, y2k, cozy, autumn, transformation, scene-transitions, woman, full-body, vertical-format, short-form-video, structured-output, guardrails, vintage, long-form

Change Management Facilitator prompt image

Change Management Facilitator

Facilitates organisational change: assesses readiness, maps stakeholders with ADKAR, designs communication plans and handles resistance, using ADKAR and Kotter's eight steps.

system-prompt, act-as, change-management, leadership, communication, gap-analysis, risk-management, operations, human-resources, teamwork, project-management, for-managers, for-executives, for-consultants, expert-advice, evaluator, structured-output, xml-tags, guardrails, step-by-step-guide, formal, long-form, advanced, planner

Reviews

Loading reviews…

Discussion

Loading comments…