We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8999293 commit 4448df3Copy full SHA for 4448df3
client/src/main/kotlin/io/hstream/impl/ConsumerKtImpl.kt
@@ -62,6 +62,8 @@ class ConsumerKtImpl(
62
if (status.code == Status.UNAVAILABLE.code) {
63
delay(DefaultSettings.REQUEST_RETRY_INTERVAL_SECONDS * 1000)
64
streamingFetchWithRetry(requestFlow)
65
+ } else if (status.code == Status.CANCELLED.code) {
66
+ logger.info("grpc streamingFetch is canceled")
67
} else {
68
logger.error("streamingFetch failed")
69
notifyFailed(HStreamDBClientException(e))
0 commit comments