Pcornel
Automation · Event-Driven Automation

Pub/Sub

Cheat sheet · https://pcornel.dk/topic.php?topic=5340

Back to the Topic

Answer

Pub/sub (publish-subscribe) lets publishers send messages to topics that many subscribers receive independently, such as Kafka, MQTT, Redis or Google Pub/Sub.

Remember

  • Topics with subscribers.
  • Each subscriber independent.
  • Ordering may vary.

First checks

  • Topics and subscriptions — fan-out
  • kafka-consumer-groups.sh --bootstrap-server <b> --describe --group <g> — Kafka lag
  • Subscription filters — delivery scope

Verify in this order

publisher → topic → subscriptions → consumers

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5340

Confirmation

Confirm action

Continue?