feat: add stop after render and after render trace to rocketmq action
This commit is contained in:
parent
2abc1b1141
commit
22c7224267
|
@ -264,7 +264,11 @@ do_query(
|
||||||
|
|
||||||
TopicKey = get_topic_key(Query, TopicTks),
|
TopicKey = get_topic_key(Query, TopicTks),
|
||||||
Data = apply_template(Query, Templates, DispatchStrategy),
|
Data = apply_template(Query, Templates, DispatchStrategy),
|
||||||
|
emqx_trace:rendered_action_template(ChannelId, #{
|
||||||
|
topic_key => TopicKey,
|
||||||
|
data => Data,
|
||||||
|
request_timeout => RequestTimeout
|
||||||
|
}),
|
||||||
Result = safe_do_produce(
|
Result = safe_do_produce(
|
||||||
ChannelId, InstanceId, QueryFunc, ClientId, TopicKey, Data, ProducerOpts, RequestTimeout
|
ChannelId, InstanceId, QueryFunc, ClientId, TopicKey, Data, ProducerOpts, RequestTimeout
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue