Execution meta — see plan: #5296
Problem
eventmesh-common is an oversized "kitchen-sink" module. It exposes CloudEvents, Netty, gRPC, HTTP client, Jackson, Fastjson, Disruptor, and more. SPI, Storage API, and Protocol API all depend on it.
Risks
- Plugin developers are forced to pull in many unrelated dependencies.
- SDK and Runtime are prone to dependency conflicts.
- Kernel, protocol, network, serialization, and utilities cannot evolve independently.
Proposed direction
Keep eventmesh-common as a single module for now, but partition it into clear internal packages — no new modules, since the module count is already too high:
org.apache.eventmesh.common.model EventMeshFrame, topic, offset, error model, base value objects
org.apache.eventmesh.common.wire Frame codec / WireCodec
org.apache.eventmesh.common.config configuration model + validation
org.apache.eventmesh.common.util utility classes with no infrastructure dependency
A physical module split is a follow-up only — do it only if a hard dependency cut is needed so plugin authors stop pulling Netty / gRPC transitively.
Acceptance criteria
Part of the Architecture Review.
Problem
eventmesh-commonis an oversized "kitchen-sink" module. It exposes CloudEvents, Netty, gRPC, HTTP client, Jackson, Fastjson, Disruptor, and more. SPI, Storage API, and Protocol API all depend on it.Risks
Proposed direction
Keep
eventmesh-commonas a single module for now, but partition it into clear internal packages — no new modules, since the module count is already too high:eventmesh-spi, the Storage API, and the Protocol API depend only on themodel/wirepackages, not on the wholeeventmesh-common(keep the API surface small even if physically one module).A physical module split is a follow-up only — do it only if a hard dependency cut is needed so plugin authors stop pulling Netty / gRPC transitively.
Acceptance criteria
modelandwirepackages are free of Netty / gRPC / HTTP / Jackson / Fastjson / Disruptor imports.model/wirepackages (enforced by ArchUnit).eventmesh-common.Part of the Architecture Review.