Skip to content

DAR-115 — Align Kafka config and fix thirdweb.wallet.created republishing for local dev

  • Aligns spring.kafka.bootstrap-servers to localhost:9092 (shared KYC broker) so thirdweb-wallet-service and wallet-ledger communicate over the same Kafka instance in local dev
  • Fixes provisionWallet() idempotent path: thirdweb.wallet.created was only published on first creation; re-calling the endpoint (e.g. for manual replay) now re-publishes the event so wallet-ledger can update the polygon address
  • Removes the local ThirdwebWalletCreatedEvent DTO (duplicate of darvest-common) whose __TypeId__ Kafka header was incompatible with wallet-ledger's consumer
  • Adds SecurityConfig with @Profile("local") that opens all endpoints without Keycloak, fixing 401s during local development
  • Fixes docker-compose.yml Postgres port conflict (5435 → 5436)
  • Bumps darvest-common to 0.0.23-RELEASE

Closes DAR-115

Rapports de requête de fusion