ecsimsw commented on code in PR #13607:
URL: https://github.com/apache/apisix/pull/13607#discussion_r3572438130
##########
apisix/plugins/error-log-logger.lua:
##########
@@ -108,6 +108,16 @@ local metadata_schema = {
},
uniqueItems = true,
},
+ tls = {
+ type = "object",
+ description = "tls config for connecting to kafka brokers",
+ properties = {
+ verify = {
+ type = "boolean",
+ default = false,
+ },
+ },
+ },
Review Comment:
Thanks for pointing out the early-return issue.
I would likely have missed it without your tip.
As you suggested, I moved the call inside the `metadata_schema` branch so it
runs before the return.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]