Skip to content

Commit 1906656

Browse files
misc(event): Add warning about clickhouse idempotency logic (#351)
1 parent b5b800c commit 1906656

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/schemas/EventInputObject.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ properties:
77
transaction_id:
88
type: string
99
example: "transaction_1234567890"
10-
description: This field represents a unique identifier for the event. It is crucial for ensuring idempotency, meaning that each event can be uniquely identified and processed without causing any unintended side effects.
10+
description: |
11+
This field represents a unique identifier for the event.
12+
It is crucial for ensuring idempotency, meaning that each event can be uniquely identified and processed without causing any unintended side effects.
13+
14+
WARNING: If the Lago organization is configured to use the new Clickhouse-based event pipeline (designed for high-volume processing), the idempotency logic is handled differently.
15+
Event uniqueness is maintained with both `transaction_id` and `timestamp` fields.
16+
If a new event arrives with identical values for these two fields as an existing event, the new one will overwrite the previous event rather than being rejected.
1117
external_subscription_id:
1218
type: string
1319
example: "sub_1234567890"

0 commit comments

Comments
 (0)