event-driven-dotnet / EventDriven.EventBus.Dapr

Event bus abstraction over Dapr pub/sub
MIT License
22 stars 5 forks source link

[Bug] Error When Disabling Schema Registry or Event Cache #24

Closed tonysneed closed 1 year ago

tonysneed commented 1 year ago

Describe the bug MongoDB Connection Live When Schema Registry or Event Cache Disabled

Expected behavior If Schema Registry or Event Cache Disabled, then no connection should be made to MondoDB

To Reproduce Turn off MongoDB. Disable Schema Registry or Event Cache An exception occurs about the db connection timing out

Make My Life Easier If possible, create a pull request that contains a failing unit test to reproduce the bug.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Additional resources Please refer to the Contributing Guidelines.

tonysneed commented 1 year ago

Used SimplePubSub sample project to reproduce the error condition and validate fix.

johha86 commented 1 year ago

This new version worked for me!