You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/use-cases/mix-and-match-database/tutorial-2.md
+3-8
Original file line number
Diff line number
Diff line change
@@ -140,8 +140,6 @@ You will examine how this pattern is applied to the Postgres projection applicat
140
140
::: info Understanding Checkpoint
141
141
A projection often uses a checkpoint to recover the position of the last processed event. This way, when an application unexpectedly crashes mid-process, the projection does not have to process all the previously processed events.
142
142
143
-
For more information about checkpoints, [click here](../../best-practices/checkpoint.md)
144
-
145
143
:::
146
144
147
145
::: info Storing Checkpoints in Relational Databases
@@ -217,20 +215,17 @@ You will examine how this pattern is applied to the Postgres projection applicat
217
215
218
216
::: info Exactly-once processing
219
217
This implementation ensures exactly-once processing by using KurrentDB for reliable persistence, idempotent projection logic, and transactional updates. The read model and checkpoint are updated atomically, preventing duplicates or inconsistencies, unlike traditional message brokers that rely on at-least-once or at-most-once delivery.
220
-
221
-
For more information about exactly-once processing with catch-up subscription and transactional checkpoints, [click here](../../best-practices/exactly-once-processing.md)
222
-
223
218
:::
224
219
225
220
The `CartProjection.Project(e)` function above returns a SQL command that updates the read model depending on the event.
226
221
227
-
4. Run the following command in the terminal to open the code that performs for the Postgres projection:
222
+
5. Run the following command in the terminal to open the code that performs for the Postgres projection:
228
223
229
224
```sql
230
225
code ./PostgresProjection/CartProjection.cs
231
226
```
232
227
233
-
5. Locate and examine the code that handles the projection for the `CustomerStartedShopping` event:
228
+
6. Locate and examine the code that handles the projection for the `CustomerStartedShopping` event:
0 commit comments