Commit 0240476b4e027e2380852590c1f87007d15bc84f
Committed by
Andrew Shvayka
1 parent
8e89ea97
fix duplicates
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -119,7 +119,7 @@ class DefaultTbContext implements TbContext { |
119 | 119 | |
120 | 120 | @Override |
121 | 121 | public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) { |
122 | - TopicPartitionInfo tpi = mainCtx.resolve(ServiceType.TB_RULE_ENGINE, getTenantId(), tbMsg.getOriginator()); | |
122 | + TopicPartitionInfo tpi = resolvePartition(tbMsg); | |
123 | 123 | enqueue(tpi, tbMsg, onFailure, onSuccess); |
124 | 124 | } |
125 | 125 | ... | ... |