Use case 01
Regulatory reporting pipeline
Returns to the CBN are still assembled from extracts, spreadsheets and reconciliations between the core, the card platform and treasury. Each cycle costs days of effort and the figures are hard to defend when an inspector asks how one was produced. A governed pipeline builds every return from the same versioned tables, with lineage from each reported field back to the originating transaction.
Technologies
- Apache Kafka
- Apache Iceberg
- Apache Spark
- Apache Cloudberry
- OpenMetadata
- Apache Airflow
Expected outcome
Every return is reproducible from a named snapshot, months after submission, without rebuilding anything. The finance team stops reconciling spreadsheets and starts reviewing exceptions.
Metric: Reporting close reduced from 9 days to under 36 hours; 100 % of reported fields with documented lineage
- 1Capture the transaction event. Core banking change-data-capture and the payment switch publish to Kafka with the source timestamp preserved. Nothing is aggregated before it is durable.
- 2Land raw in Iceberg. A sink writes the events unmodified into bronze Iceberg tables on object storage in Nigeria, each commit producing a snapshot that can be named and re-read later.
- 3Validate and conform. Spark applies the bank's data-quality rules (completeness, referential integrity, balance checks) and quarantines failures instead of silently dropping them.
- 4Load the MPP warehouse. Conformed data is loaded into Cloudberry through external tables, partitioned by reporting period and distributed by account key so the return queries parallelise across every segment.
- 5Compute the return. SQL models express the CBN line items, with the taxonomy held in versioned reference tables. A rule change becomes a data change with a date and an author.
- 6Record lineage and residency. OpenMetadata registers the report with column-level lineage to its source tables and the recorded storage location of each one.
- 7Archive the evidence pack. The submitted file, the input snapshot identifiers and the query log are written to an object-locked bucket for the retention period.





