Feature #7082
closedredis: support EVE output to a Redis stream
Description
Redis has a (recently added?) feature called streams (https://redis.io/docs/latest/develop/data-types/streams/) which implements "a data structure that acts like an append-only log but also implements several operations to overcome some of the limits of a typical append-only log. These include random access in O(1) time and complex consumption strategies, such as consumer groups. You can use streams to record and simultaneously syndicate events in real time." Sounds a bit Kafka-like. Redis streams offer various useful access patterns that go beyond push/pop as done in channels (e.g. XREAD
/XRANGE
).
Push interaction with streams takes place via XADD
operations. Sounds like this should be easy to implement via hiredis and useful in practice.