Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"closed while logging request",Please have a look #15

Open
mrJingChen opened this issue Jan 20, 2021 · 0 comments
Open

"closed while logging request",Please have a look #15

mrJingChen opened this issue Jan 20, 2021 · 0 comments

Comments

@mrJingChen
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant