You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
Expected Behavior
the variable subscribeTopics here https://github.com/dapr/components-contrib/blob/main/common/component/kafka/kafka.go#L50C2-L50C17 can be concurrently accessed and in some scenarios is not protected against data races
Here https://github.com/dapr/components-contrib/blob/main/common/component/kafka/consumer.go#L247 and here https://github.com/dapr/components-contrib/blob/main/common/component/kafka/consumer.go#L236
the subscribeLock https://github.com/dapr/components-contrib/blob/main/common/component/kafka/kafka.go#L51 should be used to protect the concurrent usage of the subscribeTopics map
Actual Behavior
Steps to Reproduce the Problem
Release Note
RELEASE NOTE:
The text was updated successfully, but these errors were encountered: