-
Notifications
You must be signed in to change notification settings - Fork 544
Open
Labels
Description
Expected Behavior
On a stable environment, when using non-blocking reads in redis pubsub, I would not expect to see any errors from sidecar.
Actual Behavior
When using non-blocking reads in redis pubsub, when the context is cancelled upon timeout expiry, daprd is printing a message at Error level:
{"app_id":"test-utils","component":"pubsub (pubsub.redis/v1)","instance":"test-utils-okteto-6f86bf67db-gglfx","level":"error","msg":"redis streams: error reading from stream topo_mapper_response: read tcp 10.42.3.119:45460-\u003e10.42.4.182:6379: i/o timeout","scope":"dapr.contrib","time":"2025-11-07T01:19:07.794242894Z","type":"log","ver":"1.16.2"}
{"app_id":"test-utils","component":"pubsub (pubsub.redis/v1)","instance":"test-utils-okteto-6f86bf67db-gglfx","level":"error","msg":"redis streams: error reading from stream topo_mapper_response: read tcp 10.42.3.119:45478-\u003e10.42.4.182:6379: i/o timeout","scope":"dapr.contrib","time":"2025-11-07T01:19:08.794528802Z","type":"log","ver":"1.16.2"}
Steps to Reproduce the Problem
Configure a redis pubsub component with a timeout of 1s:
- name: readTimeout
value: 1s
Errors will be printed every second in sidecar.
Release Note
RELEASE NOTE: FIX Bug in runtime.