Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "timer-fallbacker" ShowName = "Timer Fallbacker" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fallbacker ¶
type Fallbacker struct {
config.CommonFields
MaxAttempts int `mapstructure:"max_attempts"`
ExponentialBackoff int `mapstructure:"exponential_backoff"`
MaxBackoff int `mapstructure:"max_backoff"`
}
Fallbacker is a timer fallbacker when forward fails.
func (*Fallbacker) DefaultConfig ¶
func (t *Fallbacker) DefaultConfig() string
func (*Fallbacker) Description ¶
func (t *Fallbacker) Description() string
func (*Fallbacker) FallBack ¶
func (t *Fallbacker) FallBack(batch event.BatchEvents, forward api.ForwardFunc) bool
func (*Fallbacker) Name ¶
func (t *Fallbacker) Name() string
func (*Fallbacker) ShowName ¶ added in v0.4.0
func (t *Fallbacker) ShowName() string
Click to show internal directories.
Click to hide internal directories.