# siddhi-io/siddhi

Stream Processing and Complex Event Processing Engine

Repository: https://github.com/siddhi-io/siddhi
Canonical: https://ross.abutalabs.com/products/siddhi
Homepage: http://siddhi.io
Language: Java
License: Apache-2.0
License Family: permissive
Topics: streaming-data-processing, cep, stream-processing, complex-event-processing, online-learning, cloud-native, cloud, library, cncf
Last push: 2026-05-05T12:16:03+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 80, release rhythm 46, longevity 100
- inputs: {"age_days": 4517, "days_push": 120, "days_rel": 147, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1590, forks 527 (observed 2026-08-28T04:05:08.512327+00:00)

## What it is
Siddhi is a cloud-native stream processing and complex event processing (CEP) engine that executes Streaming SQL queries to capture events from diverse sources, detect patterns, and publish outputs in real time. It can run embedded as a Java or Python library, as a microservice on Docker/Kubernetes, and integrates with systems like Kafka, NATS, RDBMS, HTTP, and gRPC.

## Use cases
- process real-time event streams with SQL-like queries
- detect complex event patterns and anomalies in streams
- build real-time fraud detection pipelines
- run long-running time-based aggregations over event data
- deploy a lightweight stream processor on Kubernetes
- score events in real time with pre-trained ML models
- integrate and transform events between Kafka, databases, and HTTP services
- generate real-time alerts and notifications from sensor data

## When to choose
- you need a lightweight, embeddable stream/CEP engine with a SQL-like query language
- you want to run stream processing natively on Kubernetes with scalable, highly available deployments
- you need pattern detection, windowed aggregation, and real-time ML inference in one engine
- you require integrations with Kafka, NATS, JMS, RDBMS, NoSQL, HTTP, and gRPC out of the box

## When to avoid
- you need large-scale batch analytics or heavy offline ETL rather than real-time streaming
- your team prefers mainstream ecosystems like Apache Flink, Kafka Streams, or Spark Streaming with larger communities
- you need a managed cloud service rather than self-hosted infrastructure
- you require very recent active development, since the project has been folded into WSO2 Enterprise Integrator

## Facets
- artifact type: library
- maturity: maintenance
- function: streaming, etl, analytics, machine-learning, message-queue, monitoring
- domain: analytics, big-data, microservices, cloud-computing
- platform: jvm, cloud, self-hosted, cross-platform
- tags: stream-processing, complex-event-processing, streaming-sql, cep, event-driven, cloud-native, cncf, real-time-analytics, kafka, nats, tensorflow, pmml, data-engineering, real-time, docker, kubernetes

## Member repositories
- siddhi-io/siddhi (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.512327+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:48.466995+00:00, confidence not recorded.
  - readme: https://github.com/siddhi-io/siddhi (fetched 2026-08-28T04:05:08.512327+00:00, sha e4600f0c1207)
  - homepage: http://siddhi.io (fetched 2026-08-29T11:25:33.301181+00:00, sha c0b3c87d07ef)
  - site_page: https://siddhi.io/en/v5.1/docs/guides/realtime-movie-recommendation/guide (fetched 2026-08-29T11:25:33.327356+00:00, sha 96bf5caf00cd)
  - site_page: https://siddhi.io/en/v5.1/docs/quick-start (fetched 2026-08-29T11:25:33.310422+00:00, sha 7e0051ca08ec)
  - site_page: https://siddhi.io/en/v5.1/docs (fetched 2026-08-29T11:25:33.312849+00:00, sha 1fbb8f3e781e)
  - site_page: https://siddhi.io/en/v5.1/docs/examples (fetched 2026-08-29T11:25:33.314870+00:00, sha 674b285f4a1a)
  - site_page: https://siddhi.io/en/v5.1/docs/guides/integrate-various-enterprise-systems/guide (fetched 2026-08-29T11:25:33.316683+00:00, sha 3dbbe1c1e17d)
  - site_page: https://siddhi.io/en/v5.1/docs/guides/fault-tolerance/guide (fetched 2026-08-29T11:25:33.319264+00:00, sha 34e440cb5a0d)
  - site_page: https://siddhi.io/en/v5.1/docs/guides/long-term-aggregation/guide (fetched 2026-08-29T11:25:33.322022+00:00, sha 1d4e2d3814f0)
  - site_page: https://siddhi.io/en/v5.1/docs/guides/patterns-and-trends/guide (fetched 2026-08-29T11:25:33.324465+00:00, sha 1f76daf9e88c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
