You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "janchilling (via GitHub)" <gi...@apache.org> on 2025/04/01 05:17:33 UTC
Re: [PR] KAFKA-18913: Removing _state.updater.enabled_ flag through the Stream… [kafka]
janchilling commented on code in PR #19275:
URL: https://github.com/apache/kafka/pull/19275#discussion_r2021686307
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java:
##########
@@ -801,13 +786,13 @@ void maybeGetClientInstanceIds() {
}
} else {
mainConsumerInstanceIdFuture.completeExceptionally(
- new TimeoutException("Could not retrieve main consumer client instance id.")
+ new TimeoutException("Could not retrieve main consumer client instance id.")
);
}
}
- if (!stateUpdaterEnabled && !restoreConsumerInstanceIdFuture.isDone()) {
+ if (!restoreConsumerInstanceIdFuture.isDone()) {
Review Comment:
Ah yeah makes sense, removed the entire condition and is updated in the latest commit. There was another condition where part of it checked for the same `!stateUpdaterEnabled && !restoreConsumerInstanceIdFuture.isDone()` condition in the latter part of the same method. Remove that condition also since it will always be false.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org