forked from logrhythm/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request elastic#421 from Lucas-Caballero/go-dispatch-protos
Go dispatch protos
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package protoMsg; | ||
|
||
option java_package = "com.logrhythm.nm.message"; | ||
option java_outer_classname = "AcknowledgementsMsg"; | ||
|
||
message Acknowledgements { | ||
repeated string ids = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package configelements; | ||
|
||
option java_package = "com.logrhythm.configelements"; | ||
option java_outer_classname = "GoDispatchConfigMsg"; | ||
|
||
|
||
message GoDispatchConfig { | ||
|
||
message Endpoint { | ||
optional string protoHostAndPort = 1; | ||
optional bool isOwner = 2; | ||
} | ||
|
||
message Stats { | ||
optional string countKey = 1; | ||
optional string failedKey = 2; | ||
optional string finishedKey = 3; | ||
optional string requestKey = 4; | ||
optional string retryKey = 5; | ||
} | ||
|
||
optional Endpoint inputQueue = 1; | ||
optional Endpoint confirmQueue = 2; | ||
optional Stats stats = 3; | ||
|
||
optional int32 batchingReportPeriodSec = 4; | ||
optional int32 receiveLogTimeoutMs = 5; | ||
optional int32 batchingCapturePeriodMs = 6; | ||
optional int32 maxBatchSize = 7; | ||
optional int32 maxInFlightBatches = 8; | ||
|
||
optional bool sendToRecorder = 9; | ||
optional int32 indexRetryBackoffDurationMs = 10; | ||
} |