feat: add stop after render and after render trace to rocketmq action

This commit is contained in:
Kjell Winblad 2024-04-24 15:09:05 +02:00
parent 2abc1b1141
commit 22c7224267
1 changed files with 5 additions and 1 deletions

View File

@ -264,7 +264,11 @@ do_query(
TopicKey = get_topic_key(Query, TopicTks),
Data = apply_template(Query, Templates, DispatchStrategy),
emqx_trace:rendered_action_template(ChannelId, #{
topic_key => TopicKey,
data => Data,
request_timeout => RequestTimeout
}),
Result = safe_do_produce(
ChannelId, InstanceId, QueryFunc, ClientId, TopicKey, Data, ProducerOpts, RequestTimeout
),