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개가 남음.
22 lines
691 B
YAML
22 lines
691 B
YAML
# NATS 2.14.x with JetStream, Experimental tier.
|
|
#
|
|
# JetStream is mandatory: core NATS is fire-and-forget with no persistence and no acknowledgement,
|
|
# so an at-least-once destination configured against it would report success for messages that were
|
|
# never stored. The adapter's validator refuses that combination.
|
|
services:
|
|
nats:
|
|
image: nats:2.14-alpine
|
|
container_name: messaging-nats
|
|
ports:
|
|
- "4222:4222"
|
|
- "8222:8222"
|
|
command:
|
|
- "--jetstream"
|
|
- "--store_dir=/data"
|
|
- "--http_port=8222"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -q -O- http://localhost:8222/healthz || exit 1"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 20
|