Przejdź do treści
Biblioteka skilli
Dane i analityka · Analiza

streaming

/streaming

Pomaga wybrać między przetwarzaniem wsadowym a strumieniowym, dobierając wzorzec zdarzeń i narzędzie do potoku danych.

Repozytorium
domain-expert ↗
Licencja
MIT
Ostatnia zmiana repozytorium
23.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pomaga wybrać między przetwarzaniem wsadowym a strumieniowym, dobierając wzorzec zdarzeń i narzędzie do potoku danych.

Wyzwalacze z opisu

streaming architecture\batch vs streaming\event-driven data\real-time pipeline design\which streaming tool\Kafka vs Kinesis\
Oryginalny opis (EN)

Cross-platform guidance for streaming and real-time data integration architecture: batch-vs-streaming decisions, event-driven patterns, and technology selection. WHEN: \"streaming architecture\", \"batch vs streaming\", \"event-driven data\", \"real-time pipeline design\", \"which streaming tool\", \"Kafka vs Kinesis\". Do NOT use for Kafka implementation details (topics, partitions, consumer groups, Kafka Connect, Kafka Streams) -- use the `kafka` skill directly.

Jak działa

  1. Decision Matrix
  2. How to Choose
  3. Tool Selection Framework
  4. Anti-Patterns
  5. Reference Files
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 631 słów
Podgląd SKILL.md
---
name: streaming
description: "Cross-platform guidance for streaming and real-time data integration architecture: batch-vs-streaming decisions, event-driven patterns, and technology selection. WHEN: \"streaming architecture\", \"batch vs streaming\", \"event-driven data\", \"real-time pipeline design\", \"which streaming tool\", \"Kafka vs Kinesis\". Do NOT use for Kafka implementation details (topics, partitions, consumer groups, Kafka Connect, Kafka Streams) -- use the `kafka` skill directly."
license: MIT
---

# Streaming

This skill helps determine which streaming or real-time data integration technology best matches a given need, and covers cross-tool comparison and selection guidance directly.

## Decision Matrix

| Signal | See Skill |
|--------|----------|
| Kafka, topic, partition, consumer group, offset, producer, broker, ZooKeeper, KRaft | `kafka` |
| Kafka Connect, connector, source connector, sink connector, Debezium, SMT | `kafka` |
| Kafka Streams, KStream, KTable, GlobalKTable, topology, state store | `kafka` |
| Streaming comparison, batch vs streaming, event-driven architecture, Kafka vs Kinesis | Handled directly (below) |
| Spark Structured Streaming, foreachBatch, watermark, trigger | See `spark` skill |
| Flink, Flink SQL, DataStream API, event time, window | Future: `flink` skill (not yet available) |

## How to Choose

1. **Extract technology signals** from the question -- tool names, concepts (topic, partition, offset, consumer lag), CLI commands (kafka-topics.sh, kafka-console-consumer), connector names (debezium-mysql-source).
2. **Check for version specifics** -- Kafka 3.x (ZooKeeper mode), Kafka 4.x (KRaft-only). See the `kafka` skill, which points to the version reference.
3. **Comparison requests** -- if comparing streaming approaches or asking batch vs streaming, use the framework below.
4. **Ambiguous requests** -- if the request is "I need real-time data" without specifying a tool, gather context (latency requirement, data volume, source/target systems, team experience) before recommending one.

## Tool Selection Framework

### Streaming vs Batch Decision

| Factor | Choose Streaming | Choose Batch |
|---|---|---|
| **Latency** | Sub-second to seconds required | Minutes to hours acceptable |
| **Data pattern** | Continuous event flow, unbounded | Periodic load, bounded datasets |
| **Complexity tolerance** | Team can handle distributed systems | Team prefers simpler operational model |
| **Cost tolerance** | Can sustain always-on infrastructure | Prefers pay-per-run compute |
| **Use case** | Fraud detection, real-time dashboards, CDC distribution | Warehouse loading, reporting, reconciliation |

### Kafka Ecosystem Comparison

| Component | Purpose | When to Use |
|---|---|---|
| **Kafka Broker** | Distributed log for event storage and delivery | Core infrastructure for any Kafka deployment |
| **Kafka Connect** | Declarative source/sink connectors | Moving data into/out of Kafka without custom code |
| **Kafka Streams** | Lightweight stream processing library | Stateful processing within JVM applications, no separate cluster needed |
| **ksqlDB** | SQL interface over Kafka Streams | Stream processing for SQL-skilled teams, materialized views |
| **Schema Registry** | Schema management for Avro/Protobuf/JSON Schema | Enforcing schema evolution rules, producer/consumer contracts |

### Kafka Versions

| Version | Key Change | Status |
|---|---|---|
| **3.9** | Last version supporting ZooKeeper mode | Maintenance |
| **4.0** | KRaft-only (ZooKeeper removed), consumer group protocol rewrite | Stable |
| **4.1** | Share groups (queue semantics on topics), improved KRaft | Stable |
| **4.2** | Latest features, performance improvements | Current |

## Anti-Patterns

1. **Streaming when batch suffices** -- Adding Kafka for a nightly warehouse load that runs in 10 minutes. The operational complexity of Kafka (broker management, partition tuning, consumer group monitoring) is not justified when batch meets the SLA.
2. **Single-partition topics** -- All messages funneled through one partition means one consumer thread. Throughput is capped. Partition by a meaningful business key (customer_id, region) for parallelism.
3. **Ignoring consumer lag** -- Consumer lag is the most critical streaming metric. Unmonitored lag means stale data, backpressure, and potential data loss when topic retention expires.
4. **No dead letter topic** -- Poison messages (malformed, schema-violating) block the consumer if not routed to a dead letter topic for separate handling.

## Reference Files

- The `overview` skill's `references/paradigm-streaming.md` -- Streaming paradigm fundamentals (when/why streaming, event-driven patterns, technology landscape). Read for comparison and architectural questions.
- The `overview` skill's `references/concepts.md` -- ETL/ELT fundamentals (CDC patterns, error handling, exactly-once semantics) that apply to streaming pipelines.

Wersje

RepozytoriumWynikLicencja
Ta strona · chrishuffman5/domain-expert90MIT
redpanda-data/skills100Apache-2.0
juspay/kolu100AGPL-3.0

Migawka bazy z 28.10.2026 · wersja paczki 3084807c6e8b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100kafka
    Opisuje Apache Kafka do przesyłania zdarzeń: producenci, konsumenci, tematy, partycje, Kafka Streams i Connect, w architekturach zdarzeniowych i potokach danych czasu rzeczywistego.
  • 100kafka-expert
    Wspiera pracę z Apache Kafka, strumieniowaniem zdarzeń, Kafka Streams i rozproszonym przesyłaniem wiadomości.
  • 100realtime-data-agent
    Wspiera strumieniowe przetwarzanie danych i architekturę zdarzeniową: projekt tematów Kafka lub Kinesis, logika Flink i Spark Streaming, serwer WebSocket, alerty progowe i analiza opóźnień end-to-end.
  • 90streaming-and-messaging-systems
    Prowadzi przez projektowanie strumieniowania zdarzeń i potoków danych w czasie rzeczywistym z Kafką, Kinesis i Flinkiem: okna, konsumenci ze stanem i przetwarzanie niemal na żywo.
  • 80role-database:streaming-databases
    Pomaga w strumieniowaniu zdarzeń: Kafka, Pulsar, Redpanda, Flink i NATS, z CDC, schematami i przetwarzaniem w czasie rzeczywistym.
  • 90data-streaming
    Projektuje strumieniowe przetwarzanie zdarzeń w Kafka, Flink i Kinesis, z CDC przez Debezium i gwarancjami niezawodności.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.