How to continue reading unread messages in consumer upon startup
Continuation from https://github.com/StackExchange/StackExchange.Redis/issues/1109#issuecomment-479726250_
This forces my microservice to always start from Beginning of stream. If I wanted it to continue from where it left off if it has been executed before or Beginning if it has not been run before what should I do? I've gone through the Tests\Streams.cs but it is not clear if this scenario is covered which for me should be the most basic scenario.
Upon Startup, call StreamCreateConsumerGroup ( if group is already created in previous run, it should probably do nothing ). Any consumers for that group should not be impacted by the Create. When StreamReadGroup(key, group1, consumer1, count: 1) is called it should have the option of saying start at beginning for this consumer or continue where this consumer left off.