Event Sourcing SDK Configuration
Detailed configuration options for the EAF Event Sourcing SDK.
⚙️ Basic Configuration
eaf:
eventsourcing:
datasource-url: 'jdbc:postgresql://localhost:5432/eventstore'
username: 'eventstore_user'
password: '${DATABASE_PASSWORD}'
🏬 Event Store Configuration
Database Settings
table-name: Event store table name (default: "domain_events")schema-name: Database schema name (default: "public")batch-size: Batch size for event loading (default: 1000)
Connection Pool
max-pool-size: Maximum connection pool sizemin-pool-size: Minimum connection pool sizeconnection-timeout: Connection timeout in milliseconds
📸 Snapshot Configuration
eaf:
eventsourcing:
snapshots:
enabled: true
frequency: 100
table-name: 'aggregate_snapshots'
compression: gzip
🔧 Performance Tuning
Event Loading
parallel-loading: Enable parallel event loadingcache-size: In-memory event cache sizeprefetch-size: Event prefetch batch size
Serialization
serialization-format: JSON or binary serializationcompression-enabled: Enable event compression
Complete configuration guide for the EAF Event Sourcing SDK.