All URIs are relative to http://localhost/admin/v2
Method | HTTP request | Description |
---|---|---|
GetActiveBrokers | Get /brokers/{cluster} | Get the list of active brokers (web service addresses) in the cluster.If authorization is not enabled, any cluster name is valid. |
GetAllDynamicConfigurations | Get /brokers/configuration/values | Get value of all dynamic configurations' value overridden on local config |
GetDynamicConfigurationName | Get /brokers/configuration | Get all updatable dynamic configurations's name |
GetInternalConfigurationData | Get /brokers/internal-configuration | Get the internal configuration data |
GetOwnedNamespaes | Get /brokers/{clusterName}/{broker-webserviceurl}/ownedNamespaces | Get the list of namespaces served by the specific broker |
GetRuntimeConfiguration | Get /brokers/configuration/runtime | Get all runtime configurations. This operation requires Pulsar super-user privileges. |
Healthcheck | Get /brokers/health | Run a healthcheck against the broker |
UpdateDynamicConfiguration | Post /brokers/configuration/{configName}/{configValue} | Update dynamic serviceconfiguration into zk only. This operation requires Pulsar super-user privileges. |
[]string GetActiveBrokers(ctx, cluster) Get the list of active brokers (web service addresses) in the cluster.If authorization is not enabled, any cluster name is valid.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cluster | string |
[]string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]map[string]interface{} GetAllDynamicConfigurations(ctx, ) Get value of all dynamic configurations' value overridden on local config
This endpoint does not need any parameter.
map[string]map[string]interface{}
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]map[string]interface{} GetDynamicConfigurationName(ctx, ) Get all updatable dynamic configurations's name
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InternalConfigurationData GetInternalConfigurationData(ctx, ) Get the internal configuration data
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]NamespaceOwnershipStatus GetOwnedNamespaes(ctx, clusterName, brokerWebserviceurl) Get the list of namespaces served by the specific broker
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
clusterName | string | ||
brokerWebserviceurl | string |
map[string]NamespaceOwnershipStatus
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]map[string]interface{} GetRuntimeConfiguration(ctx, ) Get all runtime configurations. This operation requires Pulsar super-user privileges.
This endpoint does not need any parameter.
map[string]map[string]interface{}
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcheck(ctx, ) Run a healthcheck against the broker
This endpoint does not need any parameter.
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateDynamicConfiguration(ctx, configName, configValue) Update dynamic serviceconfiguration into zk only. This operation requires Pulsar super-user privileges.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
configName | string | ||
configValue | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]