Fix minor configuration issue I noticed while testing. `tls` should be optional

This commit is contained in:
R Tyler Croy 2020-05-25 10:18:06 -07:00
parent 3a6363541c
commit 39dca3223c
2 changed files with 1 additions and 1 deletions

View File

@ -145,6 +145,7 @@ impl Default for TlsType {
pub struct Listen {
pub address: String,
pub port: u64,
#[serde(default)]
pub tls: TlsType,
}

View File

@ -4,7 +4,6 @@ global:
listen:
address: '127.0.0.1'
port: 514
tls:
kafka:
conf:
bootstrap.servers: '127.0.0.1:9092'