mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 00:21:51 -05:00
Add DynamoDbRuntime and a DynamoDbBackendLifecycle seam so the emulator lifecycle starts, resets and stops only the selected backend. Native start initializes the engine before persisted stream consumers and schedules the TTL sweep, which never ran because its bean was unused. Reset gains a checkReset preflight that runs before anything is stopped or cleared, and native reset now drops streams, item caches, idempotency tokens and forwarder queues. Reset also pauses the TTL sweep and waits out in-flight zero-ETL writes before Floci storage is cleared. Shutdown stops the Lambda DynamoDB poller, the Redshift zero-ETL consumer and the Kinesis forwarding drains before the final flush, and the Redshift consumer is now Resettable.