config

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapServers

func BootstrapServers() string

func ConfigurationFile added in v0.0.5

func ConfigurationFile() string

func GraylogServer

func GraylogServer() string

func GroupID

func GroupID() string

func HistoryTopic

func HistoryTopic() string

func LogLevel

func LogLevel() log.Level

func MetricsAddr added in v0.0.4

func MetricsAddr() string

func ScheduleGraceInterval added in v0.0.6

func ScheduleGraceInterval() int

func SchedulesTopics

func SchedulesTopics() []string

func ServerAddr added in v0.0.4

func ServerAddr() string

func SessionTimeout

func SessionTimeout() int

func SinceDelta

func SinceDelta() int

Types

type File added in v0.0.5

type File struct {
	KafkaCommonConfiguration   confluent.ConfigMap `yaml:"kafka.common.configuration,omitempty"`
	KafkaProducerConfiguration confluent.ConfigMap `yaml:"kafka.producer.configuration,omitempty"`
	KafkaConsumerConfiguration confluent.ConfigMap `yaml:"kafka.consumer.configuration,omitempty"`
}

func ReadFile added in v0.0.5

func ReadFile(filePath string) (File, error)

func (*File) GenerateConsumerConfiguration added in v0.0.5

func (f *File) GenerateConsumerConfiguration() confluent.ConfigMap

func (*File) GenerateProducerConfiguration added in v0.0.5

func (f *File) GenerateProducerConfiguration() confluent.ConfigMap

Jump to

Keyboard shortcuts

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