starrocks-realtime-analytics
CommunityBuild sub-minute StarRocks real-time analytics
System Documentation
What problem does it solve?
This Skill solves the problem of delivering sub-minute analytics from Kafka streams while keeping BI queries low-latency and dashboard-friendly in StarRocks.
Core Features & Use Cases
- Kafka → Routine Load ingestion: set up near-real-time ingestion with tuned batch interval, concurrency, JSON mapping, strict mode, and UTC handling.
- Primary Key real-time tables: design StarRocks Primary Key tables with range partitioning and low-latency storage settings for upsert-like updates.
- Real-time serving for dashboards: write time-window metric queries and use async materialized views for repeated aggregations to reduce query cost.
- Low-latency multi-table querying: apply colocate join patterns so join execution avoids unnecessary shuffle during real-time queries.
- Operational stability: isolate ingestion vs OLAP workload using resource groups to prevent contention.
- Freshness monitoring: check ingestion lag (seconds behind latest record) to drive alerts for real-time dashboards.
Use Case example: you ingest order events from Kafka and power a live “revenue last 15 minutes” dashboard with pre-aggregated MV-backed queries refreshed every minute.
Quick Start
Create a StarRocks Primary Key table for your events, configure Routine Load from your Kafka topic, and query the last-15-minute metrics in Grafana using minute-level time aggregation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: starrocks-realtime-analytics Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#starrocks-realtime-analytics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.