thrift: deprecate twitter/finagle protocol (#20471)

This begins the deprecation process for TTwitter.

Fixes #20466.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>

Mirrored from https://github.com/envoyproxy/envoy @ 9e67f1e2461e965c0269c69356d608e39c23902b
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent cc33dfd8d9
commit 6290b71f73
  1. 1
      envoy/extensions/filters/network/thrift_proxy/v3/BUILD
  2. 3
      envoy/extensions/filters/network/thrift_proxy/v3/thrift_proxy.proto

@ -6,6 +6,7 @@ licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/annotations:pkg",
"//envoy/config/core/v3:pkg",
"//envoy/config/route/v3:pkg",
"@com_github_cncf_udpa//udpa/annotations:pkg",

@ -8,6 +8,7 @@ import "envoy/extensions/filters/network/thrift_proxy/v3/route.proto";
import "google/protobuf/any.proto";
import "google/protobuf/wrappers.proto";
import "envoy/annotations/deprecation.proto";
import "udpa/annotations/migrate.proto";
import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
@ -58,7 +59,7 @@ enum ProtocolType {
COMPACT = 3;
// The Thrift proxy will use the Thrift "Twitter" protocol implemented by the finagle library.
TWITTER = 4;
TWITTER = 4 [deprecated = true, (envoy.annotations.deprecated_at_minor_version_enum) = "3.0"];
}
message Trds {

Loading…
Cancel
Save