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 more