Class Topics


@Path("/") @Consumes("application/json") @Produces("application/json") public class Topics extends TopicsBase
  • Constructor Details

    • Topics

      public Topics()
  • Method Details

    • produceOnPersistentTopic

      @POST @Path("/persistent/{tenant}/{namespace}/{topic}") public void produceOnPersistentTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.websocket.data.ProducerMessages producerMessages)
    • produceOnPersistentTopicPartition

      @POST @Path("/persistent/{tenant}/{namespace}/{topic}/partitions/{partition}") public void produceOnPersistentTopicPartition(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("partition") int partition, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.websocket.data.ProducerMessages producerMessages)
    • produceOnNonPersistentTopic

      @POST @Path("/non-persistent/{tenant}/{namespace}/{topic}") public void produceOnNonPersistentTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.websocket.data.ProducerMessages producerMessages)
    • produceOnNonPersistentTopicPartition

      @POST @Path("/non-persistent/{tenant}/{namespace}/{topic}/partitions/{partition}") public void produceOnNonPersistentTopicPartition(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("partition") int partition, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.websocket.data.ProducerMessages producerMessages)