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