kafkaconfig

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package kafkaconfig provides configuration for the Kafka event source

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Enabled is a flag to determine if the Kafka event source is enabled
	Enabled bool `json:"enabled" koanf:"enabled" default:"false"`
	// AppName is the name of the application that is publishing events
	AppName string `json:"appName" koanf:"appName" default:"datum"`
	// Address is the address of the Kafka broker
	Address string `json:"address" koanf:"address" default:"localhost:10000"`
	// Addresses is a list of addresses of the Kafka brokers
	Addresses []string `json:"addresses" koanf:"addresses" default:"[localhost:10000]"`
	// Debug is a flag to determine if the Kafka client should run in debug mode
	Debug bool `json:"debug" koanf:"debug" default:"false"`
}

Config is the configuration for the Kafka event source

Jump to

Keyboard shortcuts

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