Struct pulsar_admin_sdk::models::cluster_data::ClusterData
source · pub struct ClusterData {Show 22 fields
pub authentication_parameters: Option<String>,
pub authentication_plugin: Option<String>,
pub broker_client_certificate_file_path: Option<String>,
pub broker_client_key_file_path: Option<String>,
pub broker_client_tls_enabled: Option<bool>,
pub broker_client_tls_enabled_with_key_store: Option<bool>,
pub broker_client_tls_key_store: Option<String>,
pub broker_client_tls_key_store_password: Option<String>,
pub broker_client_tls_key_store_type: Option<String>,
pub broker_client_tls_trust_store: Option<String>,
pub broker_client_tls_trust_store_password: Option<String>,
pub broker_client_tls_trust_store_type: Option<String>,
pub broker_client_trust_certs_file_path: Option<String>,
pub broker_service_url: Option<String>,
pub broker_service_url_tls: Option<String>,
pub listener_name: Option<String>,
pub peer_cluster_names: Option<Vec<String>>,
pub proxy_protocol: Option<ProxyProtocol>,
pub proxy_service_url: Option<String>,
pub service_url: Option<String>,
pub service_url_tls: Option<String>,
pub tls_allow_insecure_connection: Option<bool>,
}Expand description
ClusterData : The configuration data for a cluster
Fields§
§authentication_parameters: Option<String>Authentication parameters when client would like to connect to cluster.
authentication_plugin: Option<String>Authentication plugin when client would like to connect to cluster.
broker_client_certificate_file_path: Option<String>TLS certificate file for internal client, used by the internal client to authenticate with Pulsar brokers
broker_client_key_file_path: Option<String>TLS private key file for internal client, used by the internal client to authenticate with Pulsar brokers
broker_client_tls_enabled: Option<bool>Enable TLS when talking with other brokers in the same cluster (admin operation) or different clusters (replication)
broker_client_tls_enabled_with_key_store: Option<bool>Whether internal client use KeyStore type to authenticate with other Pulsar brokers
broker_client_tls_key_store: Option<String>TLS KeyStore path for internal client, used by the internal client to authenticate with Pulsar brokers
broker_client_tls_key_store_password: Option<String>TLS KeyStore password for internal client, used by the internal client to authenticate with Pulsar brokers
broker_client_tls_key_store_type: Option<String>TLS KeyStore type configuration for internal client: JKS, PKCS12, used by the internal client to authenticate with Pulsar brokers
broker_client_tls_trust_store: Option<String>TLS TrustStore path for internal client used by the internal client to authenticate with Pulsar brokers
broker_client_tls_trust_store_password: Option<String>TLS TrustStore password for internal client used by the internal client to authenticate with Pulsar brokers
broker_client_tls_trust_store_type: Option<String>TLS TrustStore type configuration for internal client: JKS, PKCS12 used by the internal client to authenticate with Pulsar brokers
broker_client_trust_certs_file_path: Option<String>Path for the trusted TLS certificate file for outgoing connection to a server (broker)
broker_service_url: Option<String>The broker service url (for produce and consume operations)
broker_service_url_tls: Option<String>The secured broker service url (for produce and consume operations)
listener_name: Option<String>listenerName when client would like to connect to cluster
peer_cluster_names: Option<Vec<String>>A set of peer cluster names
proxy_protocol: Option<ProxyProtocol>protocol to decide type of proxy routing eg: SNI-routing
proxy_service_url: Option<String>Proxy-service url when client would like to connect to broker via proxy.
service_url: Option<String>The HTTP rest service URL (for admin operations)
service_url_tls: Option<String>The HTTPS rest service URL (for admin operations)
tls_allow_insecure_connection: Option<bool>Allow TLS connections to servers whose certificate cannot be be verified to have been signed by a trusted certificate authority.
Implementations§
source§impl ClusterData
impl ClusterData
sourcepub fn new() -> ClusterData
pub fn new() -> ClusterData
The configuration data for a cluster
Trait Implementations§
source§impl Clone for ClusterData
impl Clone for ClusterData
source§fn clone(&self) -> ClusterData
fn clone(&self) -> ClusterData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterData
impl Debug for ClusterData
source§impl Default for ClusterData
impl Default for ClusterData
source§fn default() -> ClusterData
fn default() -> ClusterData
source§impl<'de> Deserialize<'de> for ClusterData
impl<'de> Deserialize<'de> for ClusterData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for ClusterData
impl PartialEq for ClusterData
source§fn eq(&self, other: &ClusterData) -> bool
fn eq(&self, other: &ClusterData) -> bool
self and other values to be equal, and is used
by ==.