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 835e7ca commit d688ccaCopy full SHA for d688cca
src/main/java/com/rabbitmq/stream/impl/StreamConsumer.java
@@ -445,8 +445,8 @@ boolean sacActive() {
445
446
boolean canTrack() {
447
// closing is OK e.g. when flushing on closing
448
- return ((this.state() == OPENING || this.state() == OPEN || this.state() == CLOSING)
449
- || (this.trackingClient == null && this.state() == RECOVERING))
+ return (this.state() == OPENING || this.state() == OPEN || this.state() == CLOSING)
+ && (this.trackingClient != null && this.state() != RECOVERING)
450
&& this.name != null;
451
}
452
0 commit comments