← All Learning Paths

Stream Processing Engineer

Operate event streaming: brokers, exactly-once processing, change data capture, schema registry, micro-batching, and consumer lag incident response.

technicaladvanced7 nodes12.17h total

Path overview

运维事件流:消息代理、精确一次处理、变更数据捕获、Schema 注册表、微批处理与消费延迟应急响应。

Operate event streaming: brokers, exactly-once processing, change data capture, schema registry, micro-batching, and consumer lag incident response.

  1. Adapt "KafkaJS Producer and Consumer Topics" to a second input and compare the new output with the behavior described in "the kafka entry point".

    Completion criteria: Paste the command, the exit code, and the output line matching "Publish and consume Kafka topics with KafkaJS: keyed partitioning for order, consumer groups"; then show a second run with a changed parameter.

    Next step: Fan-Out and Fan-In Pipeline in Go

    ⏱ 0.75h

  2. Execute "Fan-Out and Fan-In Pipeline in Go", change one constant, and describe how the output diverges from "Split work across fixed goroutines, merge every output through a fan-in channel, and restore".

    Prerequisites: KafkaJS Producer and Consumer Topics

    Completion criteria: Paste the command, the exit code, and the output line matching "Split work across fixed goroutines, merge every output through a fan-in channel, and restore"; then show a second run with a changed parameter.

    Next step: PyMongo Change Stream Resume Token

    ⏱ 0.75h

  3. Run the stream processing engineer snippet "PyMongo Change Stream Resume Token", capture stdout, and show which line demonstrates the documented behavior: "Watch MongoDB collection changes with PyMongo, persisting resume tokens so listeners recover".

    Prerequisites: Fan-Out and Fan-In Pipeline in Go

    Completion criteria: Save two runs of "PyMongo Change Stream Resume Token" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: NATS.js

    ⏱ 0.75h

  4. Read "NATS.js"'s documented surface around "connect await connect({ servers }): NatsConnection", then build a minimal endpoint and log the response.

    Prerequisites: PyMongo Change Stream Resume Token

    Completion criteria: Run a request against "NATS.js", paste the response, and add one deliberately invalid call with its error.

    Next step: Queue Consumer Lag Incident Workflow

    ⏱ 1h

  5. Follow "Queue Consumer Lag Incident Workflow" and record "Resolve consumer lag incidents by identifying whether the producer or consumer side is the" at the step where it should appear, using "The lag pattern is classified, which names the half of the system to investigate." as the check.

    Completion criteria: Record the state "Resolve consumer lag incidents by identifying whether the producer or consumer side is the" at the verification step, then paste the output of "The lag pattern is classified, which names the half of the system to investigate." that proves it.

    Next step: Deduplicate Events Inside a Time Window

    ⏱ 0.5h

  6. Build "Deduplicate Events Inside a Time Window" for stream processing engineer code and verify {kept:[e1,e3],dropped:[e2]} against both samples.

    Prerequisites: Queue Consumer Lag Incident Workflow

    Completion criteria: Attach the solution file for "Stream Processing Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Stream Processing Engineer

    ⏱ 0.42h

  7. Build "Build a Change Data Capture Pipeline" through its phases, keeping "Schema projector" independently testable.

    Prerequisites: Queue Consumer Lag Incident Workflow, Deduplicate Events Inside a Time Window

    Completion criteria: Run the project's test command for "Build a Change Data Capture Pipeline", paste the passing output, and attach the acceptance note for "Schema projector" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h