cpp-redis / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform
MIT License
720 stars 199 forks source link

Appkins/streams #3

Closed appkins closed 5 years ago

appkins commented 5 years ago

Added support for redis streams. This also introduces the consumer class. This can be used to consume and process messages from a stream. Subscribing to a stream first tries to consume pending messages in the case of a crash. If there are no pending messages or all have been consumed, the consumer will process new messages.

Check out the official streams intro to learn more about redis streams.