Commit b3f6938cf0d95c653663cf8470b38a58274badfb
Committed by
Andrew Shvayka
1 parent
bec23b41
fix duplicates
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -114,7 +114,7 @@ class DefaultTbContext implements TbContext { |
114 | 114 | |
115 | 115 | @Override |
116 | 116 | public void enqueue(TbMsg tbMsg, Runnable onSuccess, Consumer<Throwable> onFailure) { |
117 | - TopicPartitionInfo tpi = mainCtx.resolve(ServiceType.TB_RULE_ENGINE, getTenantId(), tbMsg.getOriginator()); | |
117 | + TopicPartitionInfo tpi = resolvePartition(tbMsg); | |
118 | 118 | enqueue(tpi, tbMsg, onFailure, onSuccess); |
119 | 119 | } |
120 | 120 | ... | ... |