Skip to content

DAR-106 — Publishing kyc.approved event to Kafka

Kayouh Salaheddine a demandé de fusionner feature/DAR-106-kyc-approved-kafka-event vers develop
  • Introduces KycWorkflowEvent record (typed DTO with eventType, kycId, userId, at, reviewerId) to replace the anonymous Map<String,Object> payload — gives a stable, documented JSON contract on all KYC Kafka topics.
  • Wires KafkaKycWorkflowEventPublisher to use this DTO for both publishSubmitted and publishReviewFinalized (including the separate kyc-events wallet-creation event for APPROVED decisions).
  • Adds Kafka producer config to application.yml (bootstrap-servers, StringSerializer, JsonSerializer) so the producer bean can be resolved at startup.
  • Enables Kafka in application-rec.yml and application-pro.yml (kyc.events.kafka.enabled=true).

Closes DAR-106

Rapports de requête de fusion