Skip to content

Commit

Permalink
feat: add multiplexing config (#97)
Browse files Browse the repository at this point in the history
* feat: add multiplexing config

Signed-off-by: woluohenga <[email protected]>

* feat: add multiplexing config

Signed-off-by: woluohenga <[email protected]>

* feat: add multiplexing config

Signed-off-by: woluohenga <[email protected]>

---------

Signed-off-by: woluohenga <[email protected]>
Co-authored-by: woluohenga <[email protected]>
  • Loading branch information
woluohenga and woluohenga committed Feb 23, 2023
1 parent d24bf2c commit 8cd2ac4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ message MetaProtocolProxy {
string stat_prefix = 1 [(validate.rules).string = {min_len: 1}];

// The name of the application protocol built on top of meta protocol.
// This has been deprecated in favor of name in ApplicationProtocol.
string application_protocol = 2 [(validate.rules).string = {min_len: 1}];

oneof route_specifier {
Expand All @@ -46,6 +47,7 @@ message MetaProtocolProxy {
}

// The codec which encodes and decodes the application protocol.
// This has been deprecated in favor of codec in ApplicationProtocol.
Codec codec = 5;


Expand All @@ -64,6 +66,9 @@ message MetaProtocolProxy {

// for idle downstream timer.
google.protobuf.Duration idle_timeout = 11;

// Configuration for protocol
ApplicationProtocol protocol = 12;
}

message Rds {
Expand Down Expand Up @@ -151,3 +156,12 @@ message Tracing {
envoy.config.trace.v3.Tracing.Http provider = 9;
}

message ApplicationProtocol {
// The name of the application protocol built on top of meta protocol.
string name = 1 [(validate.rules).string = {min_len: 1}];
// The codec which encodes and decodes the application protocol.
Codec codec = 2;
// is multiplexing
bool multiplexing = 3;
}

0 comments on commit 8cd2ac4

Please sign in to comment.