a24924c230
Build & Test (NowChessSystems) TeamCity build finished
Replace synchronous account→core game-creation HTTP call and plain pub/sub bot game-start events with Redis Streams using consumer groups, XACK, retry, and a Dead Letter Queue for at-least-once delivery and observability. - account: GameCreationStreamClient publishes game-creation requests and correlates responses via a per-instance consumer group (NCS-91) - core: GameCreationStreamListener consumes requests, calls GameCreationService, publishes response events, retries, and routes exhausted/unparseable events to the DLQ (NCS-91, NCS-93, NCS-94) - official-bots: bot game-start events migrated from pub/sub to Streams with consumer group, XACK, retry, and DLQ (NCS-92) - account EventPublisher dual-writes to the stream and legacy pub/sub channel for backward compatibility - all flows use the typed EventEnvelope (eventId/type/payload/timestamp/ correlationId) with DLQ error context (eventType, error, attempt) - register new DTOs and EventEnvelope/EventType for native reflection Closes NCS-91, NCS-92, NCS-93, NCS-94 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Janis Eccarius <eccariusjanis@gmail.com> Reviewed-on: #62
39 lines
709 B
YAML
39 lines
709 B
YAML
quarkus:
|
|
http:
|
|
port: 8083
|
|
application:
|
|
name: nowchess-account
|
|
smallrye-openapi:
|
|
info-title: NowChess Account Service
|
|
path: /openapi
|
|
swagger-ui:
|
|
always-include: true
|
|
path: /swagger-ui
|
|
datasource:
|
|
db-kind: h2
|
|
username: sa
|
|
password: ""
|
|
jdbc:
|
|
url: "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1"
|
|
hibernate-orm:
|
|
schema-management:
|
|
strategy: drop-and-create
|
|
mp:
|
|
jwt:
|
|
verify:
|
|
publickey:
|
|
location: keys/test-public.pem
|
|
issuer: nowchess
|
|
smallrye:
|
|
jwt:
|
|
sign:
|
|
key:
|
|
location: keys/test-private.pem
|
|
nowchess:
|
|
internal:
|
|
secret: test-secret
|
|
auth:
|
|
enabled: false
|
|
game-creation-stream:
|
|
enabled: false
|