class documentation
class ServiceInfo: (source)
Constructor: ServiceInfo(service_url, authentication, tls_trust_certs_file_path)
Connection information for one Pulsar cluster endpoint.
This is primarily used with AutoClusterFailover.
| Class Method | wrap |
Undocumented |
| Method | __init__ |
Create a service info entry. |
| Method | __repr__ |
Undocumented |
| Property | service |
Undocumented |
| Property | tls |
Undocumented |
| Property | use |
Undocumented |
| Instance Variable | _authentication |
Undocumented |
| Instance Variable | _service |
Undocumented |
def __init__(self, service_url:
str, authentication: Authentication | None = None, tls_trust_certs_file_path: str | None = None):
(source)
¶
Create a service info entry.
| Parameters | |
servicestr | The Pulsar service URL for this cluster. |
authentication:Authentication, optional | Authentication to use when connecting to this cluster. |
tlsstr, optional | Trust store path for TLS connections to this cluster. |