DefaultTbCoreToTransportService: fire "onSuccess send" when skipping message without nodeId
This commit is contained in:
parent
4c0812898c
commit
d25c605ac6
@ -56,6 +56,9 @@ public class DefaultTbCoreToTransportService implements TbCoreToTransportService
|
||||
public void process(String nodeId, ToTransportMsg msg, Runnable onSuccess, Consumer<Throwable> onFailure) {
|
||||
if (nodeId == null || nodeId.isEmpty()){
|
||||
log.trace("process: skipping message without nodeId [{}], (ToTransportMsg) msg [{}]", nodeId, msg);
|
||||
if (onSuccess != null) {
|
||||
onSuccess.run();
|
||||
}
|
||||
return;
|
||||
}
|
||||
TopicPartitionInfo tpi = partitionService.getNotificationsTopic(ServiceType.TB_TRANSPORT, nodeId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user