Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func RetryWithBackoff ¶ added in v0.17.0
func RetryWithBackoff(f func(ctx context.Context, envelopes []envelope.Envelope, output string) error, ctx context.Context, envelopes []envelope.Envelope, output string) error
RetryWithBackoff retries the provided function up to N times on an exponential backoff NOTE - this function considers all errors as retriable. They are not so.
Types ¶
type SinkMetadata ¶
type SinkMetadata struct { Id uuid.UUID `json:"id"` SinkType string `json:"sinkType"` Name string `json:"name"` DeliveryRequired bool `json:"deliveryRequired"` DefaultOutput string `json:"defaultOutput"` DeadletterOutput string `json:"deadletterOutput"` }
func NewSinkMetadataFromConfig ¶ added in v0.14.1
func NewSinkMetadataFromConfig(conf config.Sink) SinkMetadata
Click to show internal directories.
Click to hide internal directories.