From a8eca0a8eedad47de7691dd2c659b345072eff1a Mon Sep 17 00:00:00 2001 From: Zeping Bai Date: Thu, 12 May 2022 11:12:32 +0800 Subject: [PATCH] feat: support kafka upstream --- apisix/schema_def.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua index fbeef89bb17c9..5d1e91535d9b0 100644 --- a/apisix/schema_def.lua +++ b/apisix/schema_def.lua @@ -451,7 +451,7 @@ local upstream_schema = { }, scheme = { default = "http", - enum = {"grpc", "grpcs", "http", "https", "tcp", "tls", "udp"}, + enum = {"grpc", "grpcs", "http", "https", "tcp", "tls", "udp", "kafka"}, description = "The scheme of the upstream." .. " For L7 proxy, it can be one of grpc/grpcs/http/https." .. " For L4 proxy, it can be one of tcp/tls/udp."