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 53ef2d9 commit f49a44eCopy full SHA for f49a44e
client/src/main/kotlin/io/hstream/impl/ConsumerKtImpl.kt
@@ -58,6 +58,9 @@ class ConsumerKtImpl(
58
delay(DefaultSettings.REQUEST_RETRY_INTERVAL_SECONDS * 1000)
59
refreshServerUrl()
60
streamingFetchWithRetry(requestFlow)
61
+ } else if (status.code == Status.CANCELLED.code) {
62
+ notifyStopped()
63
+ logger.info("consumer [{}] is stopped", consumerName)
64
} else {
65
notifyFailed(HStreamDBClientException(e))
66
}
0 commit comments