Description
The A3 architecture specifies Apache Kafka as the event backbone. This
issue adds a Kafka producer to the transaction submission endpoint so
that every accepted transaction is published to transactions.raw.
Tasks
Acceptance Criteria
POST /api/transactions publishes event to transactions.raw
- Message contains tokenised payload (no raw PII — BR-T2)
- If Kafka is unavailable, the API still accepts the transaction
(graceful degradation)
Description
The A3 architecture specifies Apache Kafka as the event backbone. This
issue adds a Kafka producer to the transaction submission endpoint so
that every accepted transaction is published to
transactions.raw.Tasks
confluent-kafkatorequirements.txtinfrastructure/kafka_producer.pytransactions.rawafterTransactionService.submit_transaction()docker-compose.yml(Kafka + Zookeeper)Acceptance Criteria
POST /api/transactionspublishes event totransactions.raw(graceful degradation)