config

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommonKafkaConfig

func NewCommonKafkaConfig(configMap *kafka.ConfigMap) config.KafkaConfig

func NewCommonOutboxConfig

func NewCommonOutboxConfig(groupID string, databaseName string,
	outboxCollectionName string,
	pickerPollInterval int, pickerMessageLimitPerPoll int,
	zombieInterval int, zombiePickerPollInterval int, zombiePickerMessageLimitPerPoll int,
	removerPollInterval int, removerMessageLimitPerPoll int) config.OutboxConfig

func NewDefaultCommonOutboxConfig

func NewDefaultCommonOutboxConfig(groupID string, databaseName string) config.OutboxConfig

Types

type CommonKafkaConfig

type CommonKafkaConfig struct {
	// contains filtered or unexported fields
}

func (*CommonKafkaConfig) GetConfigMap

func (c *CommonKafkaConfig) GetConfigMap() *kafka.ConfigMap

type CommonOutboxConfig

type CommonOutboxConfig struct {
	GroupID                         string
	DatabaseName                    string
	OutboxCollectionName            string
	PickerPollInterval              int
	PickerMessageLimitPerPoll       int
	ZombieInterval                  int
	ZombiePickerPollInterval        int
	ZombiePickerMessageLimitPerPoll int
	RemoverPollInterval             int
	RemoverMessageLimitPerPoll      int
}

func (*CommonOutboxConfig) GetDatabaseName

func (c *CommonOutboxConfig) GetDatabaseName() string

func (*CommonOutboxConfig) GetGroupID

func (c *CommonOutboxConfig) GetGroupID() string

func (*CommonOutboxConfig) GetOutboxCollectionName

func (c *CommonOutboxConfig) GetOutboxCollectionName() string

func (*CommonOutboxConfig) GetPickerMessageLimitPerPoll

func (c *CommonOutboxConfig) GetPickerMessageLimitPerPoll() int

func (*CommonOutboxConfig) GetPickerPollInterval

func (c *CommonOutboxConfig) GetPickerPollInterval() int

func (*CommonOutboxConfig) GetRemoverMessageLimitPerPoll

func (c *CommonOutboxConfig) GetRemoverMessageLimitPerPoll() int

func (*CommonOutboxConfig) GetRemoverPollInterval

func (c *CommonOutboxConfig) GetRemoverPollInterval() int

func (*CommonOutboxConfig) GetZombieInterval

func (c *CommonOutboxConfig) GetZombieInterval() int

func (*CommonOutboxConfig) GetZombiePickerMessageLimitPerPoll

func (c *CommonOutboxConfig) GetZombiePickerMessageLimitPerPoll() int

func (*CommonOutboxConfig) GetZombiePickerPollInterval

func (c *CommonOutboxConfig) GetZombiePickerPollInterval() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL