Skip to content

Commit

Permalink
Merge pull request #680 from vikinghawk/consumerRecoveryRetryFix
Browse files Browse the repository at this point in the history
consumer recovery retry needs to return the new consumer tag
  • Loading branch information
michaelklishin authored Apr 2, 2021
2 parents f27a954 + 2d988ee commit 9b7baa8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ public abstract class TopologyRecoveryRetryLogic {
} else if (consumer.getChannel() == channel) {
final RetryContext retryContext = new RetryContext(consumer, context.exception(), context.connection());
RECOVER_CONSUMER_QUEUE.call(retryContext);
consumer.recover();
context.connection().recoverConsumer(consumer.getConsumerTag(), consumer, false);
RECOVER_CONSUMER_QUEUE_BINDINGS.call(retryContext);
}
}
return context.consumer().getConsumerTag();
}
return null;
};
Expand Down

0 comments on commit 9b7baa8

Please sign in to comment.