MCPcopy Create free account
hub / github.com/AdRoll/baker / ConfigOutput

Struct ConfigOutput

config.go:65–77  ·  view source on GitHub ↗

ConfigOutput specifies the configuration for the output component.

Source from the content-addressed store, hash-verified

63
64// ConfigOutput specifies the configuration for the output component.
65type 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.
80type ConfigUpload struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected