You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Kong to customize the plug-in, in the log phase, the rabbitmqstomp send a message to prompt that the plug-in is closed, Namely "closed while logging request"。
The specific use is as follows
1.handler.lua
local LogStage = require "kong.plugins.invoke-log.log_stage"
function InvokeLog:log(conf)
InvokeLog.super.log(self)
LogStage.execute(conf)
end
2.log_stage.lua
local rabbitmq = require 'kong.plugins.invoke-log.rabbitmqstomp'
...
rabbitmq:send(datas, headers);
The text was updated successfully, but these errors were encountered:
When using Kong to customize the plug-in, in the log phase, the rabbitmqstomp send a message to prompt that the plug-in is closed, Namely "closed while logging request"。
The specific use is as follows
1.handler.lua
local LogStage = require "kong.plugins.invoke-log.log_stage"
function InvokeLog:log(conf)
InvokeLog.super.log(self)
LogStage.execute(conf)
end
2.log_stage.lua
local rabbitmq = require 'kong.plugins.invoke-log.rabbitmqstomp'
...
rabbitmq:send(datas, headers);
The text was updated successfully, but these errors were encountered: