dapr / dapr/dotnet-sdk

[Configuration API] Unable to subscribe to Redis hash type

Open
#1,117 4 comments 0 reactions 0 assignees View on GitHub
area/client/configuration kind/bug
Dominant language
C#
Stars
1.2k
Forks
378
Avg merge
2d 1h
Merged PRs (30d)
6

Description

## Expected Behavior

Subscribe to Redis hash type data changes

## Actual Behavior

The data has changed, but the subscription did not trigger.

## Steps to Reproduce the Problem

1. Environment:

dotnet version: 7.0

dapr version: 1.11.0

2. PREPARE DATA:


![image-20230630162454892](https://github.com/dapr/dotnet-sdk/assets/42963214/4c13bd38-75ba-4ee1-86b0-7afff6ea6376)

![image-20230630162523332](https://github.com/dapr/dotnet-sdk/assets/42963214/5e10a7b4-7c23-4cfc-bde4-bc12117d7537)

3. Coding:

![image-20230630162721360](https://github.com/dapr/dotnet-sdk/assets/42963214/fa8d433d-fdc2-4815-a8aa-485d6eae414f)

4. Manually modifying data:

Examples of failure(hash type):

![image-20230630163153887](https://github.com/dapr/dotnet-sdk/assets/42963214/d9752e68-3976-4943-a33b-46150d5da304)

![image-20230630163403164](https://github.com/dapr/dotnet-sdk/assets/42963214/2d907a91-51f4-4a1c-97ac-d5d40dad312a)

Successful examples (string type):
![image-20230630164110120](https://github.com/dapr/dotnet-sdk/assets/42963214/c454796a-a397-4cd9-8dc7-21cc0554185c)

![image-20230630164144246](https://github.com/dapr/dotnet-sdk/assets/42963214/d4c97f1c-1364-4609-a87f-3694b029baeb)

## Release Note

RELEASE NOTE:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Configuration API subscription with Redis hash data in the listed .NET 7 and Dapr 1.11 environment, then compare the failing hash behavior with the successful string case. Done means that modifying Redis hash data triggers the subscription callback as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, redis
Domain
api, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.