messaging-superpowers-package 설계서/계획서 기반 구현. registry를 19 → 43 leaf로 확장하고 src/messaging 아래 24개 leaf를 등록. - core-api: M1 publish/consume + M2 batch·delayed·pause-resume - policy/transport-spi: 재시도 결정, DLQ orchestration, admission control, lifecycle - kafka·rabbit(Stable): contiguous commit, confirm/return 상관, 배치, 보안 설정 - pulsar·nats(Experimental): 기본 비활성, live 인증 없음을 코드로 기록 - outbox/inbox/claim-check: 트랜잭션 결합, lease, 무결성 검증 - admin: plan → approve → execute를 타입으로 강제 - 문서 9종, infra compose 7종, JMH 벤치마크 3종 검증: 아키텍처 게이트 3종 통과, 24개 leaf 전부 check 통과, messaging 테스트 604개 통과/0 실패. 미완: 계획서가 요구한 실 브로커 IT 40개 중 7개만 작성. Rabbit 13 / Outbox 6 / Inbox 4 / NATS·Pulsar·Share 5 / testkit 2 / starter·admin 3, 그리고 TLS·ACL 2개가 남음.
28 lines
763 B
YAML
28 lines
763 B
YAML
# PostgreSQL 16 for the Outbox and Inbox.
|
|
#
|
|
# logical replication is enabled so the optional Debezium CDC relay can be exercised against the
|
|
# same database the polling relay uses; the two must produce an identical wire contract.
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: messaging-postgres
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
POSTGRES_DB: messaging
|
|
POSTGRES_USER: messaging
|
|
POSTGRES_PASSWORD: messaging
|
|
command:
|
|
- "postgres"
|
|
- "-c"
|
|
- "wal_level=logical"
|
|
- "-c"
|
|
- "max_replication_slots=4"
|
|
- "-c"
|
|
- "max_wal_senders=4"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U messaging -d messaging"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 20
|