Introduction
XACK is used to tell Redis that a message from a stream was processed successfully. This helps keep track of which messages are done and which still need attention.
XACK <stream> <group> <id> [<id> ...]
XACK mystream mygroup 1526985058136-0
XACK mystream mygroup 1526985058136-0 1526985058137-0
XGROUP CREATE mystream mygroup $ MKSTREAM XADD mystream * sensor-id 1234 temperature 19.8 XREADGROUP GROUP mygroup consumer1 COUNT 1 STREAMS mystream > XACK mystream mygroup 1526985058136-0
XACK command in Redis streams?1526985058136-0 in consumer group group1 on stream mystream?XGROUP CREATE mystream group1 $ MKSTREAM XADD mystream 1609459200000-0 field1 value1 XREADGROUP GROUP group1 consumer1 COUNT 1 STREAMS mystream > XACK mystream group1 1609459200000-0What will be the result of the
XACK command?XACK mystream group1 1609459200000-0 but get an error: (error) NOGROUP No such consumer group 'group1' for stream 'mystream'. What is the most likely cause?orders with a consumer group processors. You want to acknowledge multiple messages with IDs 1609459200000-0, 1609459200001-0, and 1609459200002-0 in one command. Which command correctly does this?Pass the test and this pattern moves unknown