ConfigOutput specifies the configuration for the output component.
| 63 | |
| 64 | // ConfigOutput specifies the configuration for the output component. |
| 65 | type ConfigOutput struct { |
| 66 | Name string |
| 67 | // Procs defines the number of baker outputs running concurrently. |
| 68 | // Only set Procs to a value greater than 1 if the output is concurrent safe. |
| 69 | Procs int |
| 70 | ChanSize int // ChanSize represents the size of the channel to send records to the ouput component(s), the default value is 16384 |
| 71 | Sharding string // Sharding is the name of the field used for sharding |
| 72 | Fields []string // Fields holds the name of the record fields the output receives |
| 73 | DecodedConfig interface{} |
| 74 | |
| 75 | Config *toml.Primitive |
| 76 | desc *OutputDesc |
| 77 | } |
| 78 | |
| 79 | // ConfigUpload specifies the configuration for the upload component. |
| 80 | type ConfigUpload struct { |
nothing calls this directly
no outgoing calls
no test coverage detected