Commit b63be05ffad15be685bf5c5f26c82d8184bb3781
Committed by
Andrew Shvayka
1 parent
560b950a
revert the enqueue(root rule chain) method changes
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -116,7 +116,7 @@ class DefaultTbContext implements TbContext { |
116 | 116 | |
117 | 117 | @Override |
118 | 118 | public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) { |
119 | - TopicPartitionInfo tpi = resolvePartition(tbMsg); | |
119 | + TopicPartitionInfo tpi = mainCtx.resolve(ServiceType.TB_RULE_ENGINE, getTenantId(), tbMsg.getOriginator()); | |
120 | 120 | enqueue(tpi, tbMsg, onFailure, onSuccess); |
121 | 121 | } |
122 | 122 | ... | ... |