KubFly SDK for Go / pipeline/config
package config
import "kubfly.io/sdk/pipeline/config"
Package config holds the names of the settings of the pipeline and their defaults — KUBFLY_PIPELINE_*, shared by every output: the config.Variables class of kubfly-sdk-pipeline of the Java SDK.
Constants
const ( // Causes is the deepest chain of causes of an error. Causes = "KUBFLY_PIPELINE_CAUSES" // DefaultCauses is 8. DefaultCauses = 8 // Suppressed is the most suppressed errors of an error. Suppressed = "KUBFLY_PIPELINE_SUPPRESSED" // DefaultSuppressed is 8. DefaultSuppressed = 8 // Batches are the batches ready to go an output holds at most; one more is lost and counted. Batches = "KUBFLY_PIPELINE_BATCHES" // DefaultBatches is 8. DefaultBatches = 8 // Mode is the mode of the pipeline — what a writer does when every lane is full, and the drain when the ring of an // output is full: ASYNC — the record or the batch is lost at once and counted; LOSSLESS — it waits while the drain // or the goroutine of the output moves on: the application slows down to the output, nothing is lost // (pipeline.Mode; the default is pipeline.DefaultMode). Both write on the goroutines of the pipeline, not on the // goroutine of the application. Mode = "KUBFLY_PIPELINE_MODE" )