Documentation ¶
Index ¶
Constants ¶
View Source
const ( DRAIN_ERROR_CODE int = 410 // transformation(router or batch) ERROR_AT_TF = "transformation" // event delivery ERROR_AT_DEL = "delivery" // custom destination manager ERROR_AT_CUST = "custom" )
Variables ¶
View Source
var ( JobRetention time.Duration EmptyPayload = []byte(`{}`) )
Functions ¶
func EnhanceJSON ¶
rawMsg passed must be a valid JSON
func IsNotEmptyString ¶
func ToBeDrained ¶
Types ¶
type BatchDestinationT ¶
type BatchDestinationT struct { Destination backendconfig.DestinationT Sources []backendconfig.SourceT }
type DrainStats ¶
type SendPostResponse ¶
Click to show internal directories.
Click to hide internal directories.