Documentation ¶
Index ¶
Constants ¶
View Source
const ConsoleConversionPattern = "[%d] %p %m (%c)%n"
const VECTOR_AGGREGATOR_CM_ENTRY: &str = "ADDRESS"; const CONSOLE_CONVERSION_PATTERN: &str = "[%d] %p %m (%c)%n";
View Source
const DefalutLoggerLevel = "INFO"
View Source
const KafkaLogFile = "kafka.log4j.xml"
View Source
const MaxKafkaLogFilesSizeInMiB int32 = 10 // 10 MiB
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KafkaServerConfGenerator ¶
type KafkaServerConfGenerator struct {
KafkaTlsSecurity *security.KafkaTlsSecurity
}
KafkaServerConfGenerator kafka config generator
func (*KafkaServerConfGenerator) DataDir ¶
func (k *KafkaServerConfGenerator) DataDir() string
DataDir data dir
func (*KafkaServerConfGenerator) FileName ¶
func (k *KafkaServerConfGenerator) FileName() string
func (*KafkaServerConfGenerator) Generate ¶
func (k *KafkaServerConfGenerator) Generate() (string, error)
type Log4jConfGenerator ¶
type Log4jConfGenerator struct { LoggingSpec *kafkav1alpha1.LoggingConfigSpec Container string }
Log4jConfGenerator kafka log4j conf generator
func (*Log4jConfGenerator) Config ¶
func (g *Log4jConfGenerator) Config() *Log4jConfig
create log4j config
func (*Log4jConfGenerator) FileName ¶
func (g *Log4jConfGenerator) FileName() string
func (*Log4jConfGenerator) Generate ¶
func (g *Log4jConfGenerator) Generate() (string, error)
type Log4jConfig ¶
type SecurityConfGenerator ¶
type SecurityConfGenerator struct { }
SecurityConfGenerator kafka security conf generator
func (*SecurityConfGenerator) FileName ¶
func (g *SecurityConfGenerator) FileName() string
func (*SecurityConfGenerator) Generate ¶
func (g *SecurityConfGenerator) Generate() (string, error)
Click to show internal directories.
Click to hide internal directories.