Live coding building and distributing an Axon 3 based application

preview_player
Показать описание
Coding tutorial on Axon Framework 3.1. by Allard Buijze

Analysis of the error encountered during the recording (at 42”)

Apparently, H2 will clear the (in-memory) database once all connections to that database have been closed. Since I restarted the only running application, the database was cleared, even if the instance running the database wasn’t restarted itself. When using a “regular” database, this behavior doesn’t occur.

Рекомендации по теме
Комментарии
Автор

For H2, you use 'mem:xxx', which is in memory storage. Actually H2 can also use a db saved in a file.

mavlarntuohuti
Автор

how do we replay events so that our projections are rebuilt. say our projection db has crashed and data has lost. How to replay?

ivanmatala
Автор

where I can download the source code for the example in the video?

jingzhiliu
Автор

does the trick of not deleting the tables

joelour