Skip to content

Commit

Permalink
Merge pull request elastic#422 from Paul-Oldenburg/anubis_config
Browse files Browse the repository at this point in the history
Initial commit of Anubis config
  • Loading branch information
lr-paul committed Oct 21, 2015
2 parents 86e4a93 + fddaf58 commit 97df1e1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
11 changes: 11 additions & 0 deletions protofiles/configelements/AnubisClientConfig.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package configelements;

option java_package = "com.logrhythm.configelements";
option java_outer_classname = "AnubisClientConfigMsg";

message AnubisClientConfig {

optional string msgQueue = 1;
optional string ackidQueue = 2;

}
37 changes: 37 additions & 0 deletions protofiles/configelements/AnubisConfig.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package configelements;

option java_package = "com.logrhythm.configelements";
option java_outer_classname = "AnubisConfigMsg";

message AnubisConfig {

message GigawattDBConfig {
optional string name = 1;
optional uint64 batchLimBytes = 2;
optional int32 batchLimRows = 3;
optional int32 dbMaxRows = 4;
}

message RelayConfig {
optional string mediatorQueue = 1;
optional int32 mediatorQueueSize = 2;
optional int32 timeoutAutoSendMs = 3;
optional int32 timeoutReceiveMs = 4;
}

message BiffConfig {
optional string ackidQueue = 1;
optional int32 ackidQueueSize = 2;
}

message MessageRetryConfig {
optional int32 tryIntervalSecs = 1;
optional int32 ageForOldSecs = 2;
}

optional GigawattDBConfig gigawattDBConfig= 1;
optional RelayConfig relayConfig = 2;
optional BiffConfig biffConfig = 3;
optional MessageRetryConfig messageRetryConfig = 4;

}

0 comments on commit 97df1e1

Please sign in to comment.