@ -83,7 +84,7 @@ public abstract class AbstractTbQueueConsumerTemplate<R, T extends TbQueueMsg> i
}
if(consumerLock.isLocked()){
log.error("poll. consumerLock is locked. will wait with no timeout. it looks like a race conditions or deadlock",newRuntimeException("stacktrace"));
log.error("poll. consumerLock is locked. will wait with no timeout. it looks like a race conditions or deadlock topic "+topic,newRuntimeException("stacktrace"));
}
consumerLock.lock();
@ -131,9 +132,12 @@ public abstract class AbstractTbQueueConsumerTemplate<R, T extends TbQueueMsg> i
log.trace("Going to sleep after poll: topic {} for {}ms",topic,sleepMs);
Thread.sleep(sleepMs);
}catch(InterruptedExceptione){
if(!stopped){
log.error("Failed to wait",e);
@ -146,7 +150,7 @@ public abstract class AbstractTbQueueConsumerTemplate<R, T extends TbQueueMsg> i
@Override
publicvoidcommit(){
if(consumerLock.isLocked()){
log.error("commit. consumerLock is locked. will wait with no timeout. it looks like a race conditions or deadlock",newRuntimeException("stacktrace"));
log.error("commit. consumerLock is locked. will wait with no timeout. it looks like a race conditions or deadlock topic "+topic,newRuntimeException("stacktrace"));