When the stream is deleted while the redis stream source is running, the service should recreate the stream and the group #483
Labels
kind/feature-request
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Problem
When the stream is deleted, while the redis stream source is running, the service does not recreate the stream and the group so it stays in error logging :
"GROUP sync is missing and creates error : NOGROUP No such key 'my_stream' or consumer group 'a_group' in XREADGROUP with GROUP option"
To fix this, i would capture the error and send a Redis command to recreate the group. But i did not look much at the code.
Persona:
Event consumer (developer)
System Operator
Exit Criteria
No more error logs written like described above when the Redis stream is deleted
Time Estimate (optional):
1 day ?
Additional context (optional)
Restarting the service fixes the problem, so it is a workaround now.
The text was updated successfully, but these errors were encountered: