Documentation ¶
Overview ¶
Package app configures and runs application.
Index ¶
Constants ¶
View Source
const (
TaskAggregateType string = "Task"
)
Variables ¶
This section is empty.
Functions ¶
func GetKafkaAggregateTypeTopic ¶
func GetKafkaAggregateTypeTopic(cfg *KafkaEventsBusConfig, aggregateType string) kafka.TopicConfig
func GetTopicName ¶
Types ¶
type KafkaEventsBusConfig ¶
type KafkaEventsBusConfig struct { Topic string `mapstructure:"topic" validate:"required"` TopicPrefix string `mapstructure:"topicPrefix" validate:"required"` Partitions int `mapstructure:"partitions" validate:"required,gte=0"` ReplicationFactor int `mapstructure:"replicationFactor" validate:"required,gte=0"` Headers []kafka.Header }
KafkaEventsBusConfig kafka eventbus config.
Click to show internal directories.
Click to hide internal directories.