Skip to content

Conversation

laojianzi
Copy link

error while reading from redis redis: nil

I have a minor suggestion: when the stream has no messages, perhaps it's better not to continuously output error logs. This could help reduce unnecessary log clutter. What are your thoughts on this?​

- Downgrade specific Redis errors to info level logging
- Handle 'BUSYGROUP Consumer Group name already exists' as informational message
@laojianzi laojianzi changed the title feat: Add special handling for redis.Nil errors in fetchTask method feat: Improve error handling and logging in Redis worker Apr 11, 2025
appleboy added a commit that referenced this pull request Aug 23, 2025
- Add handling for Redis 'no message' errors in fetchTask
- Log a specific info message when no messages are available, then continue retrying

fix #31

Signed-off-by: appleboy <[email protected]>
@appleboy appleboy closed this in #36 Aug 23, 2025
appleboy added a commit that referenced this pull request Aug 23, 2025
- Add handling for Redis 'no message' errors in fetchTask
- Log a specific info message when no messages are available, then continue retrying

fix #31

Signed-off-by: appleboy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant