Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -336,7 +324,7 @@ pub struct Options {
value_parser = validation::kafka_security_protocol,
help = "Kafka security protocol"
)]
pub kafka_security_protocol: Option<KafkaSslProtocol>,
pub kafka_security_protocol: Option<crate::kafka::SslProtocol>,

#[cfg(any(
all(target_os = "linux", target_arch = "x86_64"),
Expand Down
Loading