|
|
@ -78,7 +78,7 @@ public abstract class AbstractTbQueueConsumerTemplate<R, T extends TbQueueMsg> i |
|
|
if (stopped) { |
|
|
if (stopped) { |
|
|
return errorAndReturnEmpty(); |
|
|
return errorAndReturnEmpty(); |
|
|
} |
|
|
} |
|
|
if (!subscribed && partitions == null) { |
|
|
if (!subscribed && partitions == null && subscribeQueue.isEmpty()) { |
|
|
return sleepAndReturnEmpty(startNanos, durationInMillis); |
|
|
return sleepAndReturnEmpty(startNanos, durationInMillis); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|