Skip to main content

migrate-a-message-queue

Migrate a message queue while preserving message identity, ordering, delivery, retries, dead letters, backpressure, side effects, and rollback. Use when brokers, topics, clients, or queue topology must change.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
migrate-a-message-queue
category
code
description
Migrate a message queue while preserving message identity, ordering, delivery, retries, dead letters, backpressure, side effects, and rollback. Use when brokers, topics, clients, or queue topology must change.
# migrate-a-message-queue Move ownership of each message without creating two side-effect authorities. ## When to use - Use for broker replacement, topology redesign, regional move, client upgrade, or managed-service migration. - Protect message payloads, credentials, and regulated data. ## Preconditions - Inventory producers, consumers, topics, schemas, keys, ordering, retention, acknowledgements, retries, dead letters, throughput, and recovery. ## Procedure 1. Define stable message and operation identity plus authoritative outcome. 2. Compare delivery, ordering, visibility, transaction, retention, size, security, and failure semantics. 3. Update contracts and clients compatibly before topology cutover. 4. Establish controlled source fan-out or capture without allowing duplicate side effects. 5. Track per-partition or queue watermarks, lag, acknowledgements, retries, dead letters, and outcomes. 6. Migrate bounded cohorts and reconcile messages plus business effects. 7. Fence old consumers and producers with epochs before authority transfer. 8. Rehearse rollback while preserving new acknowledgements and accepted effects. ## Failure plan - Stop a cohort when message outcome is ambiguous; reconcile before replay. ## Worked example A payment event exists on both brokers but one durable operation receipt ensures only one charge, while watermarks prove complete transfer. ## Done - A queue migration plan records contracts, identity, topology, security, watermarks, authority, cohorts, rollback, and retirement - Duplicate, ordering, lag, poison, outage, backpressure, side-effect, rollback, and reconciliation tests verify migration
GitHub에서 보기