|
|
@ -121,7 +121,7 @@ class DefaultTbContext implements TbContext { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) { |
|
|
public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) { |
|
|
TopicPartitionInfo tpi = resolvePartition(tbMsg); |
|
|
TopicPartitionInfo tpi = mainCtx.resolve(ServiceType.TB_RULE_ENGINE, getTenantId(), tbMsg.getOriginator()); |
|
|
enqueue(tpi, tbMsg, onFailure, onSuccess); |
|
|
enqueue(tpi, tbMsg, onFailure, onSuccess); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|