diff --git a/src/cli.rs b/src/cli.rs index a46ea01aa..44317dd56 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -27,18 +27,6 @@ use crate::{ storage::{AzureBlobConfig, FSConfig, S3Config}, }; -#[cfg(any( - all(target_os = "linux", target_arch = "x86_64"), - all(target_os = "macos", target_arch = "aarch64") -))] -use crate::kafka::SslProtocol as KafkaSslProtocol; - -#[cfg(not(any( - all(target_os = "linux", target_arch = "x86_64"), - all(target_os = "macos", target_arch = "aarch64") -)))] -use std::string::String as KafkaSslProtocol; - /// Default username and password for Parseable server, used by default for local mode. /// NOTE: obviously not recommended for production pub const DEFAULT_USERNAME: &str = "admin"; @@ -336,7 +324,7 @@ pub struct Options { value_parser = validation::kafka_security_protocol, help = "Kafka security protocol" )] - pub kafka_security_protocol: Option, + pub kafka_security_protocol: Option, #[cfg(any( all(target_os = "linux", target_arch = "x86_64"),