+1 Doyeon Kim <[email protected]> 于2026年4月22日周三 22:02写道:
> Hi everyone, > > I’d like to start a discussion on [STIP-26]: > > *[STIP-26][Feature][Zeta] Decouple Hazelcast IMap via StateStore > Abstraction* > https://github.com/apache/seatunnel/issues/10804 > > This proposal introduces an initial statestore abstraction layer under > common/statestore to reduce direct Hazelcast IMap dependencies inside the > SeaTunnel engine. > > The key point is that this is intended as a *first-step boundary*, not a > full distributed-system redesign. > At this stage, the proposal focuses on: > > - > > engine-facing state-store interfaces > - > > initial implementations behind those interfaces > - > > clearer separation of state responsibilities by semantics > > It does not attempt to complete product-code wiring yet. That part is > expected to happen incrementally later. > > The motivation is that current IMap usages represent different kinds of > state, such as runtime control state, counters, metrics snapshots, and > finished-job history. Treating all of them through direct > Hazelcast-specific access makes future evolution harder and does not > clearly reflect their different consistency requirements. > > To address that, this STIP proposes: > > - > > a top-level EngineStateStores > - > > separation between authoritative and auxiliary state > - > > state-specific interfaces such as RuntimeStateStore, CounterStateStore, > MetricsSnapshotStateStore, and HistoricalStateStore > > The proposal is intentionally scoped to avoid solving everything at once. > It does not try to finalize Ratis, Pekko, leader election, or the final > persistence model in this stage. > > I’d appreciate feedback on whether this direction and scope look > reasonable. > > Best Regards, Doyeon (Github ID: dybyte) >
