Skip to content

Commit

Permalink
Merge pull request elastic#431 from Lucas-Caballero/fix-gd-protos
Browse files Browse the repository at this point in the history
Updated go-dispatch protos to reflect discussions around endpoints.
  • Loading branch information
Lucas Caballero committed Oct 27, 2015
2 parents fdf59ef + 147328d commit cf1dfbd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion protofiles/configelements/GoDispatchClientConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ option java_outer_classname = "GoDispatchClientConfigMsg";

message GoDispatchClientConfig {
optional string batchingQueue = 1;
optional int32 batchingQueueSize = 2;
}
19 changes: 11 additions & 8 deletions protofiles/configelements/GoDispatchConfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ message GoDispatchConfig {
}

message Endpoint {

optional string queue = 1;
optional int32 queueSize = 2;
optional bool isOwner = 3;
}

optional Stats stats = 1;
optional Endpoint inputQueue = 2;

optional int32 batchingReportPeriodSec = 2;
optional int32 receiveLogTimeoutMs = 3;
optional int32 batchingCapturePeriodMs = 4;
optional int32 maxBatchSize = 5;
optional int32 maxInFlightBatches = 6;
optional int32 batchingReportPeriodSec = 3;
optional int32 receiveLogTimeoutMs = 4;
optional int32 batchingCapturePeriodMs = 5;
optional int32 maxBatchSize = 6;
optional int32 maxInFlightBatches = 7;

optional bool sendToRecorder = 7;
optional int32 indexRetryBackoffDurationMs = 8;
optional bool sendToRecorder = 8;
optional int32 indexRetryBackoffDurationMs = 9;
}

0 comments on commit cf1dfbd

Please sign in to comment.