Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

bank-fraud-azure

Real-Time Card Authorizations & Fraud (Azure PoC)

PoC end-to-end en Azure con arquitectura Medallion:
Event Hubs (Kafka endpoint) → Databricks (PySpark/Structured Streaming) → Delta Lake en ADLS Gen2 → Power BI / Synapse.
Ingiere autorizaciones de tarjeta en tiempo (casi) real, limpia/enriquece, genera features de riesgo y publica un modelo estrella (Gold) con KPIs.


Architecture Diagram

🧭 Objetivos

  • Ingesta streaming de autorizaciones (JSON) con escritura exactly-once a Bronze.
  • Capa Silver: parseo, calidad de datos, joins con catálogos y generación de features.
  • Capa Gold: DimMerchant (snapshot), DimCustomer (SCD2 opcional), Fact_Authorizations y Alertas.
  • Dashboard de tasa de rechazo, latencia, volumen por canal/MCC/merchant.

📦 Estructura del repositorio


🧱 Arquitectura (Medallion)

[Simulator JSON] -> Event Hubs (Kafka)
        |                     |
        v                     v
 Databricks 01 (stream)  ->  Delta Bronze (raw_json + checkpoints)
                                 |
                                 v
                       Databricks 02 (stream)
                      parseo + DQ + features + joins
                                 |
                                 v
                         Delta Silver ----------------\
                                                       \
                                         Databricks 03 (batch)
                               Dims (snapshot/SCD2) + Fact + Alertas
                                                       |
                                                       v
                                 Delta Gold -> Power BI / Synapse
NS = <<namespace>>.servicebus.windows.net
HUB = auth-events
EH_CONNECTION_STRING = <<EventHubsConnectionString>>
STORAGE = <<storage_account>>
CONTAINER = <<container>>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages