Skip to content

docs: re-center messaging on the Kafka→ClickHouse ingestion flow#36

Merged
Maksim-Gr merged 1 commit into
mainfrom
docs/center-kafka-flow
Jun 28, 2026
Merged

docs: re-center messaging on the Kafka→ClickHouse ingestion flow#36
Maksim-Gr merged 1 commit into
mainfrom
docs/center-kafka-flow

Conversation

@Maksim-Gr

Copy link
Copy Markdown
Owner

clickforge's core purpose is generating the Kafka→ClickHouse ingestion pipeline (streamsrawdatalake + two materialized views) — the direct successor to create_ddl_for_kafka.sh. The taglines and README had drifted toward a generic "JSON → migration SQL" framing that treated kafka as just one of four equal commands. This re-centers the messaging so the ingestion flow is the headline and scan/table/diff read as helpers.

Changes

  • README
    • New Kafka-centered tagline + new headline demo GIF (assets/kafka.gif) showing clickforge kafka generating the streams.* ENGINE = Kafka(...)raw.*datalake.* DDL.
    • Pulled the Kafka ingestion flow diagram up to the top (was buried at the bottom as "Why the Kafka migration flow").
    • Added a Quickstart leading with clickforge kafka video_events.json.
    • Commands table marks kafka primary, the rest helper; scan/table/diff grouped under a Helper commands heading. The existing scan GIF (assets/demo.gif) now lives in the scan helper section.
  • src/cli.rsabout, long_about, and the top-level after_help examples lead with kafka; tips changed from "start with scan" to "run clickforge kafka <file>".
  • Cargo.tomldescription reframed to the ingestion pipeline.
  • assets/kafka.tape — VHS script for the new GIF (regenerable with vhs assets/kafka.tape).

Notes

  • No CLI behavior change — messaging/docs + one new GIF only. scan/table/diff are unchanged and still documented.
  • cargo build, cargo fmt --check, and cargo test (26 passed) all green.

The kafka command (full streams→raw→datalake pipeline + materialized views) is
the tool's original purpose — the create_ddl_for_kafka.sh successor — but the
taglines and README had drifted to a generic JSON→migration framing.

- README: lead with the Kafka ingestion flow (diagram + kafka quickstart up top),
  new headline kafka demo GIF, and group scan/table/diff under Helper commands
  (scan GIF kept there as a helper demo).
- cli.rs about/long_about/after_help and Cargo.toml description: foreground the
  pipeline; kafka-first tips instead of scan-first.
- No CLI behavior change.
@Maksim-Gr Maksim-Gr merged commit 6773b63 into main Jun 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant