Confidential client, name withheld under NDA

Governed Streaming Lakehouse for Real-Time Fraud and Risk Analytics at a US Consumer Lender

Quick answer: A governed streaming lakehouse joins transaction, authorization and log data on Delta Lake. Kafka streams it in, and fraud is scored within seconds. Bacancy built it for a US lender and card issuer.

Outcomes deliveredDelivered May 2025 to December 2025 by a team of 5
<1 min

Fraud scoring latency

Down from up to an hour

3 to 1

Data sources in one governed lakehouse

Core banking, card processor, logs

100%

Tables with column-level lineage

Traced back to each source system

Years

Of history kept queryable

Instead of trimmed retention

Client name withheld under NDA. To honour our non-disclosure agreement and compliance obligations, we describe this client by industry and region only. The project scope, technology and outcomes are shared without details that could identify them.

About the Client

The client is a US consumer lending and card issuing firm. Its transactions, card authorizations and application logs sat in 3 systems on separate refresh cycles. Fraud scoring ran hourly, so suspicious authorizations surfaced after they cleared, and risk teams could not show how a score was derived.

Bacancy Technology built a governed streaming lakehouse on Databricks and Delta Lake, with Kafka ingestion and Unity Catalog. Fraud scoring now runs on each authorization, and years of history stay queryable on low-cost storage.

Client type
Consumer lender and card issuer
Industry
Finance
Location
USA
Team
5 team members
Timeline
May 2025 to December 2025
Project size
Non-disclosable
Engagement
Data engineering and governance

Four problems slowing fraud and risk decisions

Siloed data, hourly scoring, missing lineage and costly history left the client reacting to fraud after the fact.

3 silos, 3 refresh cycles

What was happening

Transactions, authorizations and telemetry sat in separate systems and needed manual extracts.

Business Impact: Fraud scoring ran on stale copies of the data.

Hourly fraud scoring

What was happening

A flagged authorization surfaced up to an hour after it cleared.

Business Impact: Reviewers investigated completed transactions instead of stopping pending ones.

No lineage or access record

What was happening

Score derivation had to be traced by hand, with no single log of customer data access.

Business Impact: Risk and compliance could not evidence scores to regulators or reviewers.

Costly multi-year history

What was happening

Keeping years of history queryable was expensive, so retention kept being cut.

Business Impact: Weaker audit coverage and shorter history for model training.

Challenges & Solutions

Our data engineers built one governed lakehouse that serves fraud scoring, audit and analytics.

Challenge 1: Consolidating 3 fragmented data sources

Transaction records, authorization events and telemetry sat in 3 systems with different refresh cycles.

Solution: Our data engineers mapped the 3 sources and designed raw, curated and serving zones on Delta Lake as part of our data lake consulting services. Streaming and batch jobs read the same tables. Schema evolution, ACID writes and time travel let any table be corrected or replayed.

Challenge 2: Replacing hourly batch fraud scoring

Fraud scoring ran hourly, so flags arrived after transactions had cleared.

Solution: Through our data engineering services, we replaced batch jobs with Apache Kafka topics feeding Spark Structured Streaming. The fraud model now reads the curated zone within seconds of each authorization.

Challenge 3: Adding lineage and unified access control

Teams could not show how a risk score was derived or who had accessed customer data.

Solution: Under our data governance services, our team registered every table in Unity Catalog with an owner, business definition and column-level lineage. Role-based permissions restrict cardholder identifiers and balances, and every customer-level query is written to a searchable audit log.

Challenge 4: Keeping years of history queryable at low cost

Multi-year history for audits and model training was expensive, so retention was trimmed.

Solution: We connected Trino for federated queries and set tiered retention, with older partitions on low-cost object storage. A dedicated Databricks developer from our team maintains the risk dashboards and retention policy.

How the Platform Works

The client fraud and risk analytics dashboard

Core Features

  • Governed zones on Delta LakeRaw, curated and serving zones shared by streaming and batch jobs.
  • Streaming ingestionKafka and Spark Structured Streaming replace hourly batch loads.
  • Near real-time fraud scoringThe fraud model scores each authorization within seconds.
  • Unity Catalog governanceColumn-level lineage, role-based access and query audit logs.
  • Tiered, queryable historyYears of data on low-cost storage, queried through Trino.

The stack behind the lakehouse

Lakehouse platform
Databricks | Delta Lake
Streaming
Apache Kafka | Spark Structured Streaming
Data processing
PySpark
Catalog and governance
Unity Catalog | IAM
Query engine
Trino
Machine learning
Python | scikit-learn | MLflow
Orchestration
Databricks Workflows
CI/CD
Git | GitHub Actions

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies