How mohammadtarekkk/tidaline works
TidaLine is a maritime intelligence lakehouse: it collects vessel and port reference data in scheduled batches, streams seismic events into an OLTP store and through CDC, then transforms lakehouse data into port-risk and vessel analytics for querying and dashboards. Airflow coordinates the batch and transformation work; the seismic streaming job runs independently. The README documents the major flows and operational monitoring. Some infrastructure and transformation implementations were not sampled, so those nodes use supported configuration or directory paths, and relationships rely on documented architecture where noted.
Main entry points: lakehouse_pipeline_dag.py Airflow Orchestration · ingestion_dag.py Bronze Upload · debezium_postgres_source.json Debezium Connector · bronze_to_silver.py Bronze Silver Job
Components 23
Data Ingestion
- Vessel Scraper
extractors/batch/vessels.py - Port Downloader
extractors/batch/ports.py - Bronze Upload
dags/ingestion_dag.py - MinIO Bronze
docker-compose.yml
Seismic CDC
- Earthquake Streamer
extractors/stream/seismic/streamer.py - Postgres Writer
extractors/stream/seismic/writer.py - Earthquakes Database
infrastructure/postgres/init/create_earthquakes.sql - Debezium Connector
infrastructure/debezium/debezium_postgres_source.json - Redpanda Topic
docker-compose.yml
Lakehouse Processing
- Seismic CDC Job
jobs/streaming/seismic_cdc_to_iceberg.py - Bronze Silver Job
jobs/batch/bronze_to_silver.py - Iceberg Silver
docker-compose.yml
Analytics Serving
- Gold Risk Models
transform/models/gold - Gold Analytics
transform/models/gold - Trino Query Engine
infrastructure/trino/etc/catalog/iceberg.properties - Superset Dashboards
infrastructure/superset/Dockerfile
Orchestration Monitoring
- Airflow Orchestration
dags/lakehouse_pipeline_dag.py - Prometheus Metrics
infrastructure/monitoring/prometheus.yml - Grafana Monitoring
infrastructure/grafana/provisioning/datasources/datasources.yml
Other components
- Logistics Operator
- VesselFinder
- NGA Port Index
- SeismicPortal
Connections 23
- VesselFinder → Vessel Scraper: provides vessel data
README.md - NGA Port Index → Port Downloader: provides port data
README.md - SeismicPortal → Earthquake Streamer: streams events
README.md - Vessel Scraper → Bronze Upload: scrapes files for
dags/ingestion_dag.py - Port Downloader → Bronze Upload: downloads files for
dags/ingestion_dag.py - Bronze Upload → MinIO Bronze: uploads CSVs
dags/ingestion_dag.py - Earthquake Streamer → Postgres Writer: writes events via
extractors/stream/seismic/streamer.py - Postgres Writer → Earthquakes Database: upserts events
extractors/stream/seismic/writer.py - Earthquakes Database → Debezium Connector: streams WAL changes
README.md - Debezium Connector → Redpanda Topic: publishes changes
README.md - Redpanda Topic → Seismic CDC Job: feeds event topic
jobs/streaming/seismic_cdc_to_iceberg.py - Seismic CDC Job → Iceberg Silver: merges earthquakes
jobs/streaming/seismic_cdc_to_iceberg.py - MinIO Bronze → Bronze Silver Job: reads CSVs
jobs/batch/bronze_to_silver.py - Bronze Silver Job → Iceberg Silver: writes vessels and ports
jobs/batch/bronze_to_silver.py - Iceberg Silver → Gold Risk Models: transforms sources
README.md - Gold Risk Models → Gold Analytics: builds risk analytics
README.md - Gold Analytics → Trino Query Engine: queries tables
README.md - Trino Query Engine → Superset Dashboards: serves dashboards
README.md - Logistics Operator → Superset Dashboards: explores analytics
README.md - Airflow Orchestration → Debezium Connector: registers connector
dags/lakehouse_pipeline_dag.py - Airflow Orchestration → Bronze Silver Job: submits batch job
dags/lakehouse_pipeline_dag.py - Airflow Orchestration → Gold Risk Models: runs transformations
dags/lakehouse_pipeline_dag.py - Prometheus Metrics → Grafana Monitoring: feeds dashboards
README.md