Hey,
We have a use case where we need to send constant signals to a workflow from a kafka consumer. For this purpose we are caching the workflow handle in our application and reusing it as needed and invalidating the cached workflow handle if and when send signal gives an exception. However, when trying to emulate this by doing the following:
- Start workflow
- Send signal; cache workflow handle
- Stop workflow; cached handle should become stale
- Start workflow again
- Send signal again
- Expected : Signal request failed due to stale workflow handle
Actual : Signal request works successfully
My question is that is this expected? Is the workflow handle just a lightweight object which doesnt really hold any connection information; which is why it doesnt seem to give any issues when using stale handle?