ETPA's lessons learned implementing and executing its CBOR migration with Axon Framework
summary
ETPA migrates its Axon event store from XStream XML to CBOR using a custom serializer that writes new events as CBOR and detects XML by first character when reading, then runs Axon’s active event transformation to convert historical events in 1,000‑event batches. The migration converts 68 million events over 45 days, temporarily doubles storage, cuts on‑disk size by roughly 40–50%, improves network/processing performance, and requires a UI plugin and model fixes (constructors, upcasters, Java version quirks).
AI-written summary · about
chapters (8)
- 0:00Introduction to ETPA and energy trading
- 4:20Why speed matters in energy trading
- 7:51Axon Framework and infrastructure design
- 12:23Why migrate from XML to CBOR
- 15:36Migration phases and custom serializer
- 17:01Active event transformation process
- 21:19Migration results and performance gains
- 23:49Q&A on auditability and serialization
