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
Hello, we encountered an issue when try to use grpc-kotlin with SharedFlow,
Our use case is:
grpcStub.observeEvents()
.shareIn(scope, started = SharingStarted.WhileSubscribed())
And first time everything is OK, but once SharedFlow does not have any subscribers it completes itself. After that if we resubscribe to it, Metadata object will contain all headers from the previous connection.
So next time ClientsCalls.kt -> rpcImpl will invoke clientCall.start with outdated meta info.