How can i do with ngx.var with ngx_http_mirror_module?

Hi all

I am searching a plugin in Kong ,which works like goreplay, but I couldn’t find it , now I try to make a plugin to archieve my target. But I have some difficulties, i know a module in openresty, named ngx_http_mirror_module, How can I use variables ,for example ngx.var.mirror_target mapping ngx_http_mirror_module? Anyway, how can i make a plugin “mirror” which is using ngx_http_mirror_module? Pls help me!

Hi, i don’t know how to use ngx_http_mirror_module, but if the goal is to send a copy of the request, you might be able to do it with this library