Class NonPersistentTopics


@Path("/non-persistent") @Produces("application/json") public class NonPersistentTopics extends PersistentTopics
  • Constructor Details

    • NonPersistentTopics

      public NonPersistentTopics()
  • Method Details

    • getPartitionedMetadata

      @GET @Path("/{property}/{cluster}/{namespace}/{topic}/partitions") public void getPartitionedMetadata(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("checkAllowAutoCreation") @DefaultValue("false") boolean checkAllowAutoCreation)
      Overrides:
      getPartitionedMetadata in class PersistentTopics
    • getInternalStats

      @GET @Path("{property}/{cluster}/{namespace}/{topic}/internalStats") public void getInternalStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("metadata") @DefaultValue("false") boolean metadata)
      Overrides:
      getInternalStats in class PersistentTopics
    • createPartitionedTopic

      @PUT @Path("/{property}/{cluster}/{namespace}/{topic}/partitions") public void createPartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, int numPartitions, @QueryParam("createLocalTopicOnly") @DefaultValue("false") boolean createLocalTopicOnly)
      Overrides:
      createPartitionedTopic in class PersistentTopics
    • unloadTopic

      @PUT @Path("/{property}/{cluster}/{namespace}/{topic}/unload") public void unloadTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
      Overrides:
      unloadTopic in class PersistentTopics
    • getList

      @GET @Path("/{property}/{cluster}/{namespace}") public void getList(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @QueryParam("bundle") String nsBundle)
      Overrides:
      getList in class PersistentTopics
    • getListFromBundle

      @GET @Path("/{property}/{cluster}/{namespace}/{bundle}") public List<String> getListFromBundle(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange)