-
Notifications
You must be signed in to change notification settings - Fork 4
Streams and Consumer Groups
Anshu Garg edited this page Sep 13, 2026
·
1 revision
VortexKV provides high-throughput, sub-millisecond event streaming and distributed task distribution modeled after Redis 6+ Streams with full Pending Entries List (PEL) tracking.
Appends an entry to a stream. Passing * automatically generates a timestamp-sequence ID:
redis-cli -p 7379 -a "vortex_secure_2026" XADD orders:stream * user_id 101 amount 49.99 status "pending"
# "1789227091877-0"Creates a distributed consumer group for collaborative stream processing:
redis-cli -p 7379 -a "vortex_secure_2026" XGROUP CREATE orders:stream billing_workers $ MKSTREAM
# OKWorkers in the group fetch new unassigned messages with zero-CPU blocking support:
redis-cli -p 7379 -a "vortex_secure_2026" XREADGROUP GROUP billing_workers worker_1 COUNT 10 BLOCK 2000 STREAMS orders:stream >Acknowledges successful processing and removes message from the Pending Entries List (PEL):
redis-cli -p 7379 -a "vortex_secure_2026" XACK orders:stream billing_workers 1789227091877-0
# (integer) 1Inspects unacknowledged messages for worker failure recovery:
redis-cli -p 7379 -a "vortex_secure_2026" XPENDING orders:stream billing_workers