ACK Command
Syntax
Parameters
Parameter | Description | Required | Example |
---|---|---|---|
CLIENT_ID | ID of the client acknowledging the event | Yes |
|
EVENT_IDEM | Unique ID of the event to acknowledge | Yes |
|
EVENT_NAME | Type of event being acknowledged | Yes |
|
PARTITION_BLOCK | Partition block of the event | Yes |
|
Response
Success
The response includes the ID of the acknowledged event.
Error
Examples
Basic Acknowledgment
Notes
The ACK command confirms successful processing of an event
Acknowledged events are removed from the client's processing queue
The client's position in the event stream is updated in persistent storage
Acknowledgment may trigger queue refill operations when thresholds are reached
The system implements a two-phase acknowledgment process:
First mark the event as acknowledged in Valkey (Redis)
Then update the client position in the database
Only the client that is currently processing an event can acknowledge it
The PARTITION_BLOCK parameter is used for efficient database queries when updating client position