feat(journal-ksqlite): add :journal-ksqlite module with KsqliteJournalStore implementation
ci / JVM build + tests (push) Failing after 1m10s
ci / JVM build + tests (push) Failing after 1m10s
- Introduced a new `:journal-ksqlite` module implementing `:journal-api` with Ksqlite backend. - Added a minimal schema (message table + 1 index) for append-only audit logs, eliminating modifications and ensuring immutable storage. - Provides `KsqliteJournalStore` for appending, listing, and clearing messages with JSON-encoded payloads. - Autonomous schema migration (`Schema.migrate`) and in-memory tests validate functionality. - Partial duplication of `:storage-ksqlite/KsqliteMessageStore`; consumers will transition gradually.
This commit is contained in:
@@ -100,6 +100,12 @@ include(":storage-ksqlite")
|
||||
// Параллельно существует :storage-ksqlite/KsqliteWorkingMemoryStore.kt —
|
||||
// миграция consumers'ов по чуть-чуть, отдельно.
|
||||
include(":context-ksqlite")
|
||||
// ksqlite-реализация :journal-api (JournalStore / message table).
|
||||
// Минимальный модуль: только таблица `message` + 1 индекс
|
||||
// `(conversation_id, created_at)`. Параллельно существует
|
||||
// :storage-ksqlite/KsqliteMessageStore.kt — миграция consumers'ов
|
||||
// по чуть-чуть, отдельно.
|
||||
include(":journal-ksqlite")
|
||||
// KMP-реализация EventStore через ksqlite (https://github.com/caffeine-mgn/ksqlite).
|
||||
// Цель: проверить что pure-Kotlin SQLite с sqlite-vec заменяет SQLDelight+JVector
|
||||
// на KMP-таргетах (JVM + linuxX64 + mingwX64). Apple targets auto-disabled на
|
||||
|
||||
Reference in New Issue
Block a user