Skip to content

Commit

Permalink
feat: make KAFKA_PROPERTIES_WITH_LOCATIONS public
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcdostone committed Feb 5, 2025
1 parent c58d97a commit a38cacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/app/src/configuration/cluster_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use url::Url;
use super::Configuration;

/// List of kafka properties that are a file location.
const KAFKA_PROPERTIES_WITH_LOCATIONS: [&str; 6] = [
pub const KAFKA_PROPERTIES_WITH_LOCATIONS: [&str; 6] = [
"ssl.ca.location",
"ssl.certificate.location",
"ssl.key.location",
Expand Down
1 change: 1 addition & 0 deletions crates/app/src/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub use cluster_config::SchemaRegistryConfig;
pub use global_config::GlobalConfig;
pub use internal_config::InternalConfig;
pub use yozefu_config::YozefuConfig;
pub use cluster_config::KAFKA_PROPERTIES_WITH_LOCATIONS;

Check warning on line 16 in crates/app/src/configuration/mod.rs

View workflow job for this annotation

GitHub Actions / Format

Diff in /home/runner/work/yozefu/yozefu/crates/app/src/configuration/mod.rs

pub trait Configuration {
/// Returns the kafka properties
Expand Down

0 comments on commit a38cacd

Please sign in to comment.