From 993b0877b6ef71224716f04bc356e1838a25d1a5 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Mon, 8 Jul 2024 15:01:32 -0700 Subject: [PATCH] omitEmpty for AWS Enabled. --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 3525279b..54143f07 100644 --- a/config/config.go +++ b/config/config.go @@ -17,7 +17,7 @@ type Kafka struct { BootstrapServers string `yaml:"bootstrapServers"` TopicPrefix string `yaml:"topicPrefix"` // Optional - AwsEnabled bool `yaml:"awsEnabled"` + AwsEnabled bool `yaml:"awsEnabled,omitempty"` PublishSize uint `yaml:"publishSize,omitempty"` MaxRequestSize uint64 `yaml:"maxRequestSize,omitempty"` // If username and password are passed in, we'll use SCRAM w/ SHA512.