Commit Graph
164 Commits
Author SHA1 Message Date
ddadmin 78b8b29fc7 docs(plans): update ddl architecture to use batch transforms for ods to dds
Replace materialized view joins with batch SQL transformations to avoid
consistency issues with out-of-order data. Document the reasoning for
using batch processing for ODS to DDS layer, including handling of
eventual consistency and versioning in ReplacingMergeTree. Update
data flow diagrams and remove MV creation DDL for DDS tables. Add
documentation for error handling tables and batch transformation jobs.
2026-02-05 23:07:57 +03:00
ddadmin c8564bfe03 docs(plans): add DDL modernization plan and restructure documentation
Add comprehensive plan for migrating executable DDL statements from markdown
to separate SQL files organized by layer. The plan outlines artifact structure,
execution requirements via make/Airflow, and environment parameters.

Existing inline DDL content is now marked as legacy in an appendix section,
providing clear separation between planned implementation and current state.
2026-02-05 22:37:51 +03:00
ddadmin a39dba6dae docs: add runbook reference and makefile commands
- Add reference to `plans/runbook.md` in key artifacts section
- Add reference to `plans/kafka_ingest_plan.md` in key artifacts section
- Document `make up`, `make ddl`, and `make data` commands in basic commands section
2026-02-05 22:12:51 +03:00
ddadmin a81a2c1b68 docs: add project readme 2026-02-05 22:11:10 +03:00
ddadmin eb80bc1870 feat(infra): add makefile and kafka data loading script
Add build automation via Makefile with targets for docker compose
management, DDL application, and data ingestion. Implement a robust bash
script for loading JSONL demo data into Kafka topics with configurable
options for limits, full dataset loading, and topic reset behavior.
2026-02-05 22:10:48 +03:00
ddadmin 380e8fcff3 docs(plans): fix kafka broker address and add data loading docs
Update Kafka broker address to use internal Docker network port (29092)
instead of external port (9092). Add kafka_ingest_plan.md with detailed
implementation strategy and runbook.md with user instructions.
2026-02-05 21:49:09 +03:00
ddadmin a2a1fdb785 feat(docker): add superset service
Add Apache Superset for data visualization to the docker-compose setup.
The custom Dockerfile installs additional tools and the clickhouse-connect
driver. The service is configured with health check, persistent volumes,
and environment variables.
2026-02-04 23:17:11 +03:00
ddadmin 60d02fdb28 fix(docker): correct network name and remove hardcoded container names
Fix network definition name from 'ch_replicated' to 'cs_dwh' to match
service references. Comment out hardcoded container names to allow
Docker to generate unique names automatically and avoid conflicts.
2026-02-04 23:06:03 +03:00
ddadmin f860bc47db Описание для роботов 2026-02-04 22:49:31 +03:00
ddadmin 06ffb0cf16 Наброски инфраструктуры 2026-02-04 22:47:19 +03:00
ddadmin df50e507e5 План трансформаций: JSON → витрины BI
- Описаны слои STG/ODS/DDS/DM и связи потоков (`event_id`/`click_id`)
- Добавлены DDL и MV-пайплайн для ingestion из Kafka (ClickHouse) + типизация/дедуп/DQ
- Добавлены витрины/VIEW для BI (Superset), mermaid-диаграмма и операционные заметки
2026-02-04 22:17:28 +03:00
ddadmin 70e12fbfb3 Текст задания 2026-02-04 22:11:07 +03:00
ddadmin aab9264121 Расширение исходных данных 2026-02-04 21:25:53 +03:00
ddadmin 06730fdf19 Исходные данные 2026-02-04 20:14:02 +03:00