| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package svcconfig; | 7 package svcconfig; |
| 8 | 8 |
| 9 import "transport.proto"; | 9 import "transport.proto"; |
| 10 import "storage.proto"; | 10 import "storage.proto"; |
| 11 import "google/protobuf/duration.proto"; |
| 11 | 12 |
| 12 // Config is the overall instance configuration. | 13 // Config is the overall instance configuration. |
| 13 message Config { | 14 message Config { |
| 14 // Configuration for the Pub/Sub instances. | 15 // Configuration for the Pub/Sub instances. |
| 15 Transport transport = 10; | 16 Transport transport = 10; |
| 16 // Configuration for Storage. | 17 // Configuration for Storage. |
| 17 Storage storage = 11; | 18 Storage storage = 11; |
| 18 | 19 |
| 19 // Coordinator is the coordinator service configuration. | 20 // Coordinator is the coordinator service configuration. |
| 20 Coordinator coordinator = 20; | 21 Coordinator coordinator = 20; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 37 repeated string rpc_allow_origins = 20; | 38 repeated string rpc_allow_origins = 20; |
| 38 } | 39 } |
| 39 | 40 |
| 40 // Collector is the set of configuration parameters for Collector instances. | 41 // Collector is the set of configuration parameters for Collector instances. |
| 41 message Collector { | 42 message Collector { |
| 42 // Workers is the number of ingest workers to run. | 43 // Workers is the number of ingest workers to run. |
| 43 int32 workers = 1; | 44 int32 workers = 1; |
| 44 | 45 |
| 45 // The number of transport worker goroutines to run. | 46 // The number of transport worker goroutines to run. |
| 46 int32 transport_workers = 2; | 47 int32 transport_workers = 2; |
| 48 |
| 49 // The maximum number of log stream states to cache locally. If <= 0, a |
| 50 // default will be used. |
| 51 int32 state_cache_size = 3; |
| 52 |
| 53 // The maximum amount of time that cached stream state is valid. If <= 0, a |
| 54 // default will be used. |
| 55 google.protobuf.Duration state_cache_expiration = 4; |
| 47 } | 56 } |
| OLD | NEW |