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

(cherry picked from commit 9b7baa8)
  • Loading branch information
michaelklishin committed Apr 2, 2021
1 parent a8f6d25 commit 5922378
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,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 5922378

Please sign in to comment.