Class Topics


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

      • Topics

        public Topics()
    • Method Detail

      • produceOnPersistentTopic

        @POST
        @Path("/persistent/{tenant}/{namespace}/{topic}")
        public void produceOnPersistentTopic​(@Suspended
                                             javax.ws.rs.container.AsyncResponse asyncResponse,
                                             @PathParam("tenant")
                                             java.lang.String tenant,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             @PathParam("topic") @Encoded
                                             java.lang.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")
                                                      java.lang.String tenant,
                                                      @PathParam("namespace")
                                                      java.lang.String namespace,
                                                      @PathParam("topic") @Encoded
                                                      java.lang.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")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                @PathParam("topic") @Encoded
                                                java.lang.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")
                                                         java.lang.String tenant,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace,
                                                         @PathParam("topic") @Encoded
                                                         java.lang.String encodedTopic,
                                                         @PathParam("partition")
                                                         int partition,
                                                         @QueryParam("authoritative") @DefaultValue("false")
                                                         boolean authoritative,
                                                         org.apache.pulsar.websocket.data.ProducerMessages producerMessages)