Class BrokersBase

Direct Known Subclasses:
Brokers, Brokers

public class BrokersBase extends AdminResource
Broker admin base.
  • Field Details

  • Constructor Details

    • BrokersBase

      public BrokersBase()
  • Method Details

    • getActiveBrokers

      @GET @Path("/{cluster}") public void getActiveBrokers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • getActiveBrokers

      @GET public void getActiveBrokers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse) throws Exception
      Throws:
      Exception
    • getLeaderBroker

      @GET @Path("/leaderBroker") public void getLeaderBroker(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getOwnedNamespaces

      @GET @Path("/{clusterName}/{broker-webserviceurl}/ownedNamespaces") public void getOwnedNamespaces(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterName") String cluster, @PathParam("broker-webserviceurl") String broker)
    • updateDynamicConfiguration

      @POST @Path("/configuration/{configName}/{configValue}") public void updateDynamicConfiguration(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("configName") String configName, @PathParam("configValue") String configValue)
    • deleteDynamicConfiguration

      @DELETE @Path("/configuration/{configName}") public void deleteDynamicConfiguration(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("configName") String configName)
    • getAllDynamicConfigurations

      @GET @Path("/configuration/values") public void getAllDynamicConfigurations(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getDynamicConfigurationName

      @GET @Path("/configuration") public void getDynamicConfigurationName(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getRuntimeConfiguration

      @GET @Path("/configuration/runtime") public void getRuntimeConfiguration(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getInternalConfigurationData

      @GET @Path("/internal-configuration") public void getInternalConfigurationData(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • 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 String version() throws Exception
      Throws:
      Exception
    • shutDownBrokerGracefully

      @POST @Path("/shutdown") public void shutDownBrokerGracefully(@QueryParam("maxConcurrentUnloadPerSec") int maxConcurrentUnloadPerSec, @QueryParam("forcedTerminateTopic") @DefaultValue("true") boolean forcedTerminateTopic)