Class BrokersBase

    • Field Detail

      • HEALTH_CHECK_TOPIC_SUFFIX

        public static final java.lang.String HEALTH_CHECK_TOPIC_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • BrokersBase

        public BrokersBase()
    • Method Detail

      • getActiveBrokers

        @GET
        @Path("/{cluster}")
        public java.util.Set<java.lang.String> getActiveBrokers​(@PathParam("cluster")
                                                                java.lang.String cluster)
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLeaderBroker

        @GET
        @Path("/leaderBroker")
        public org.apache.pulsar.common.policies.data.BrokerInfo getLeaderBroker()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getOwnedNamespaces

        @GET
        @Path("/{clusterName}/{broker-webserviceurl}/ownedNamespaces")
        public java.util.Map<java.lang.String,​org.apache.pulsar.common.policies.data.NamespaceOwnershipStatus> getOwnedNamespaces​(@PathParam("clusterName")
                                                                                                                                        java.lang.String cluster,
                                                                                                                                        @PathParam("broker-webserviceurl")
                                                                                                                                        java.lang.String broker)
                                                                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateDynamicConfiguration

        @POST
        @Path("/configuration/{configName}/{configValue}")
        public void updateDynamicConfiguration​(@PathParam("configName")
                                               java.lang.String configName,
                                               @PathParam("configValue")
                                               java.lang.String configValue)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteDynamicConfiguration

        @DELETE
        @Path("/configuration/{configName}")
        public void deleteDynamicConfiguration​(@PathParam("configName")
                                               java.lang.String configName)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAllDynamicConfigurations

        @GET
        @Path("/configuration/values")
        public java.util.Map<java.lang.String,​java.lang.String> getAllDynamicConfigurations()
                                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDynamicConfigurationName

        @GET
        @Path("/configuration")
        public java.util.List<java.lang.String> getDynamicConfigurationName()
      • getRuntimeConfiguration

        @GET
        @Path("/configuration/runtime")
        public java.util.Map<java.lang.String,​java.lang.String> getRuntimeConfiguration()
      • getInternalConfigurationData

        @GET
        @Path("/internal-configuration")
        public org.apache.pulsar.common.conf.InternalConfigurationData getInternalConfigurationData()
      • backlogQuotaCheck

        @GET
        @Path("/backlog-quota-check")
        public void backlogQuotaCheck​(@Suspended
                                      javax.ws.rs.container.AsyncResponse asyncResponse)
      • isReady

        @GET
        @Path("/ready")
        public void isReady​(@Suspended
                            javax.ws.rs.container.AsyncResponse asyncResponse)
      • healthCheck

        @GET
        @Path("/health")
        public void healthCheck​(@Suspended
                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                @QueryParam("topicVersion")
                                org.apache.pulsar.common.naming.TopicVersion topicVersion)
      • version

        @GET
        @Path("/version")
        public java.lang.String version()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception