syntax = "proto3";

package envoy.extensions.filters.network.thrift_proxy.router.v3;

import "google/protobuf/wrappers.proto";

import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";

option java_package = "io.envoyproxy.envoy.extensions.filters.network.thrift_proxy.router.v3";
option java_outer_classname = "RouterProto";
option java_multiple_files = true;
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/thrift_proxy/router/v3;routerv3";
option (udpa.annotations.file_status).package_version_status = ACTIVE;

// [#protodoc-title: Router]
// Thrift router :ref:`configuration overview <config_thrift_filters_router>`.
// [#extension: envoy.filters.thrift.router]

message Router {
  option (udpa.annotations.versioning).previous_message_type =
      "envoy.config.filter.thrift.router.v2alpha1.Router";

  // Close downstream connection in case of routing or upstream connection problem. Default: true
  google.protobuf.BoolValue close_downstream_on_upstream_error = 1;
}
