EventMesh is a new generation serverless event middleware for building distributed event-driven applications.

Clone this repo:
  1. c10fd2a [ISSUE #5411] Serve the legacy SDK gRPC protocol on the v2 runtime (port 10205 bridge) + connector plugin tests 23/23 (#5412) by Eason Chen · 24 hours ago develop
  2. 624585d Docs: agent story cross-links + capability Beta promotions (landed after #5409 was merged) (#5410) by Eason Chen · 2 days ago
  3. 2c738b7 AgentTool SPI + module restructure: agent-plugin tree, agent -> agent-runtime, connector-api under connector-plugin (follow-up to #5408) (#5409) by Eason Chen · 3 days ago
  4. 705163f Agent extension points: LlmClient/ConversationMemory SPI, connector-backed agent tools and event triggers (#5408) by Eason Chen · 3 days ago
  5. 2d1dc1a [ISSUE #5405] A2A gateway production wiring: main-process boot, RocksDB task store, auth, metrics, contextId (#5406) by Eason Chen · 3 days ago




CI status CodeCov Code Scanning

License GitHub Release Slack Status

📦 Documentation | 📔 Examples | ⚙️ Roadmap | 🌐 简体中文

Apache EventMesh

Apache EventMesh is a new generation serverless event middleware for building distributed event-driven applications.

EventMesh Architecture

EventMesh Architecture

EventMesh adopts a unified CloudEvents-over-MQ architecture. The message queue (MQ) acts as a pure write-ahead log (WAL) for durable storage only — there are no consumer groups, no tags, and no broker-side subscription semantics. Instead, the stateless EventMesh Runtime owns all delivery logic: its SubscriptionManager maintains the subscription registry and offset tracking, and dispatches events with load-balance, broadcast, and multicast semantics. Applications interact through a lightweight HTTP + CloudEvents 1.0 SDK (publish / subscribe / unsubscribe), while integration with external systems runs in a standalone Connector Runtime via the connector SPI.

Features

Apache EventMesh is packed with features that help users build event-driven applications with ease. Here are the highlights that set EventMesh apart:

Core architecture

  • CloudEvents-native, end to end — built entirely around the CloudEvents 1.0 specification, so events stay vendor-neutral and portable.
  • Lightweight, language-agnostic SDK — just three operations over plain HTTP (publish, subscribe, unsubscribe); no heavyweight client, no vendor lock-in.
  • Runtime-owned subscription & dispatch — subscription state and delivery semantics (load-balance / broadcast / multicast) are managed by EventMesh itself, not the underlying MQ, giving you consistent behavior across any storage backend.
  • MQ as a pure write-ahead log (WAL) — append-only, no consumer groups, no tags; the broker is reduced to durable storage, dramatically simplifying operations.
  • Guaranteed at-least-once delivery — EventMesh owns reliability through self-managed offsets and explicit ACK.
  • Multiple delivery transports — subscribers choose HTTP long-polling, Server-Sent Events (SSE), or WebSocket push, with request-reply support.
  • Effortless horizontal scaling — stateless Runtime instances scale out seamlessly with no rebalancing cost.

Extensibility & ecosystem

  • Agent-to-Agent (A2A) collaboration — a built-in A2A protocol turns EventMesh into an agent collaboration bus, bridging synchronous MCP / JSON-RPC 2.0 tool calls and asynchronous event-driven pub/sub for LLM and multi-agent systems.
  • LLM streaming agent runtime — a standalone agent process hosts OpenAI-compatible LLM streaming sessions on the mesh, with function-calling tools: any connector becomes an agent tool, custom tools ship as agent plugins (SPI), and topics can drive agents as event triggers with decisions published back for sink delivery.
  • Pluggable storage layerApache RocketMQ (4.x / 5.x) and Apache Kafka ship today, plus a zero-dependency in-memory backend as the dev/CI default; more backends via the MeshStoragePlugin SPI.
  • Pluggable interconnector layerconnectors run as standalone processes acting as the source or sink of SaaS, CloudService, Database, etc.
  • Pluggable meta serviceNacos ships today (multi-instance coordination); more backends via the same storage SPI.
  • Event schema management via catalog service.
  • Powerful event orchestration through the Serverless workflow engine.
  • Powerful event filtering and transformation.

Capability status

Each EventMesh surface carries an explicit maturity status. The table below is the single source of truth — module-level docs link here instead of restating their status. See docs for the per-capability guides.

CapabilityStatusRecommendationMigration target
HTTP + CloudEventsGA targetRecommended — the primary user path (CloudEventsClient + /events/*)Primary path
Kafka / RocketMQ storage (4.x, 5.x)GA targetRecommended — pluggable WAL backends, TCK-covered (MeshStoragePluginTCK)Primary path
Memory storage (default)BetaZero-dependency dev/CI/quick-start backend (docker run apache/eventmesh with no broker); state is process-local — not for productionSwitch EVENTMESH_STORAGE_TYPE to kafka / rocketmq / rocketmq5
SSE / WebSocket pushBetaUsable — integration-tested; ACK-tracked redelivery + DLQ are shared with long-polling (same ReliableDispatcher), e2e-real-broker suite in #5389Unified push transports
Connector RuntimeBetaUsable — working end-to-end; all 23 plugins fully implemented since #5394 (no template stubs left), data-loss hardening in #5328; unit tests cover all 23 plugins since #5412Promote to GA once the remaining #5296 review items land (real-backend integration tests per plugin, connector-runtime HA story)
A2A / Agent GatewayBetaUsable — task store + runtime bridge (#5302/#5304), task reaper + Meta-backed agent cards in #5346, quota classification in #5373; the Testcontainers E2E gate (#5340) closed in September 2026Unified Runtime A2A
Agent tools & event triggersExperimentalEvaluate — LlmClient/ConversationMemory/AgentTool extension points, connector-backed tools and SPI plugin deployment landed in #5408/#5409; runtime in eventmesh-agent-runtime, plugins in eventmesh-agent-plugin/Agent tool ecosystem
TCP / gRPC / OpenMessaging SDKsLegacy-compatibleExisting users only — kept so old clients run unmodified; not extendedHTTP + CloudEvents

Status meanings:

  • GA target — feature-complete for the current architecture, integration-tested against real brokers; safe for production.
  • Beta — functional and tested, but semantics or deployment shape may still shift in a minor release.
  • Experimental — under active development; APIs and storage layouts may break; wire it up on dev clusters first.
  • Legacy-compatible — maintained for zero-change compatibility with existing clients; receives fixes but no new features. New integrations should not start here.

Migrating off TCP / gRPC SDKs? The legacy clients keep working against the current runtime; see the client guide for the HTTP + CloudEvents replacement (CloudEventsClient). The legacy gRPC SDK surface is served again since the #5411 bridge (opt-in via eventmesh.grpc.port=10205) — old EventMeshGrpcProducer / EventMeshGrpcConsumer clients run unmodified on the v2 runtime.

Documentation

The docs tree is organized by audience — start from the documentation map:

Subprojects

Quick start

A full step-by-step walkthrough — prerequisites, backend choice, run via Docker or from source, first publish, three receive transports, unsubscribe, and the SDK path — lives in Getting started. The first-event examples in that guide work against the standard ports (10105 HTTP, 10106 admin, 10107 WebSocket opt-in).

Contributing

GitHub repo Good Issues for newbies GitHub Help Wanted issues GitHub Help Wanted PRs GitHub repo Issues

Each contributor has played an important role in promoting the robust development of Apache EventMesh. We sincerely appreciate all contributors who have contributed code and documents.

CNCF Landscape

Apache EventMesh enriches the CNCF Cloud Native Landscape.

License

Apache EventMesh is licensed under the Apache License, Version 2.0.

Community

WeChat AssistantWeChat Public AccountSlack
Join Slack Chat(Please open an issue if this link is expired)

Bi-weekly meeting : #Tencent meeting : 346-6926-0133

Bi-weekly meeting record : bilibili

Mailing List

NameDescriptionSubscribeUnsubscribeArchive
UsersUser discussionSubscribeUnsubscribeMail Archives
DevelopmentDevelopment discussion (Design Documents, Issues, etc.)SubscribeUnsubscribeMail Archives
CommitsCommits to related repositoriesSubscribeUnsubscribeMail Archives
IssuesIssues or PRs comments and reviewsSubscribeUnsubscribeMail Archives