Class PersistentTopics

    • Constructor Detail

      • PersistentTopics

        public PersistentTopics()
    • Method Detail

      • getList

        @GET
        @Path("/{property}/{cluster}/{namespace}")
        public void getList​(@Suspended
                            javax.ws.rs.container.AsyncResponse asyncResponse,
                            @PathParam("property")
                            java.lang.String property,
                            @PathParam("cluster")
                            java.lang.String cluster,
                            @PathParam("namespace")
                            java.lang.String namespace)
      • getPartitionedTopicList

        @GET
        @Path("/{property}/{cluster}/{namespace}/partitioned")
        public java.util.List<java.lang.String> getPartitionedTopicList​(@PathParam("property")
                                                                        java.lang.String property,
                                                                        @PathParam("cluster")
                                                                        java.lang.String cluster,
                                                                        @PathParam("namespace")
                                                                        java.lang.String namespace)
      • getPermissionsOnTopic

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/permissions")
        public java.util.Map<java.lang.String,​java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissionsOnTopic​(@PathParam("property")
                                                                                                                                            java.lang.String property,
                                                                                                                                            @PathParam("cluster")
                                                                                                                                            java.lang.String cluster,
                                                                                                                                            @PathParam("namespace")
                                                                                                                                            java.lang.String namespace,
                                                                                                                                            @PathParam("topic") @Encoded
                                                                                                                                            java.lang.String encodedTopic)
      • grantPermissionsOnTopic

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/permissions/{role}")
        public void grantPermissionsOnTopic​(@PathParam("property")
                                            java.lang.String property,
                                            @PathParam("cluster")
                                            java.lang.String cluster,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            @PathParam("topic") @Encoded
                                            java.lang.String encodedTopic,
                                            @PathParam("role")
                                            java.lang.String role,
                                            java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
      • revokePermissionsOnTopic

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{topic}/permissions/{role}")
        public void revokePermissionsOnTopic​(@PathParam("property")
                                             java.lang.String property,
                                             @PathParam("cluster")
                                             java.lang.String cluster,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             @PathParam("topic") @Encoded
                                             java.lang.String encodedTopic,
                                             @PathParam("role")
                                             java.lang.String role)
      • createPartitionedTopic

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{topic}/partitions")
        public void createPartitionedTopic​(@Suspended
                                           javax.ws.rs.container.AsyncResponse asyncResponse,
                                           @PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           @PathParam("topic") @Encoded
                                           java.lang.String encodedTopic,
                                           int numPartitions,
                                           @QueryParam("createLocalTopicOnly") @DefaultValue("false")
                                           boolean createLocalTopicOnly)
      • createNonPartitionedTopic

        @PUT
        @Path("/{tenant}/{cluster}/{namespace}/{topic}")
        public void createNonPartitionedTopic​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("cluster")
                                              java.lang.String cluster,
                                              @PathParam("namespace")
                                              java.lang.String namespace,
                                              @PathParam("topic") @Encoded
                                              java.lang.String encodedTopic,
                                              @QueryParam("authoritative") @DefaultValue("false")
                                              boolean authoritative)
      • updatePartitionedTopic

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/partitions")
        public void updatePartitionedTopic​(@PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           @PathParam("topic") @Encoded
                                           java.lang.String encodedTopic,
                                           @QueryParam("updateLocalTopicOnly") @DefaultValue("false")
                                           boolean updateLocalTopicOnly,
                                           @QueryParam("authoritative") @DefaultValue("false")
                                           boolean authoritative,
                                           @QueryParam("force") @DefaultValue("false")
                                           boolean force,
                                           int numPartitions)
        It updates number of partitions of an existing non-global partitioned topic. It requires partitioned-topic to be already exist and number of new partitions must be greater than existing number of partitions. Decrementing number of partitions requires deletion of topic which is not supported. Already created partitioned producers and consumers can't see newly created partitions and it requires to recreate them at application so, newly created producers and consumers can connect to newly added partitions as well. Therefore, it can violate partition ordering at producers until all producers are restarted at application.
        Parameters:
        property -
        cluster -
        namespace -
        numPartitions -
      • getPartitionedMetadata

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/partitions")
        public org.apache.pulsar.common.partition.PartitionedTopicMetadata getPartitionedMetadata​(@PathParam("property")
                                                                                                  java.lang.String property,
                                                                                                  @PathParam("cluster")
                                                                                                  java.lang.String cluster,
                                                                                                  @PathParam("namespace")
                                                                                                  java.lang.String namespace,
                                                                                                  @PathParam("topic") @Encoded
                                                                                                  java.lang.String encodedTopic,
                                                                                                  @QueryParam("authoritative") @DefaultValue("false")
                                                                                                  boolean authoritative,
                                                                                                  @QueryParam("checkAllowAutoCreation") @DefaultValue("false")
                                                                                                  boolean checkAllowAutoCreation)
      • deletePartitionedTopic

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{topic}/partitions")
        public void deletePartitionedTopic​(@Suspended
                                           javax.ws.rs.container.AsyncResponse asyncResponse,
                                           @PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           @PathParam("topic") @Encoded
                                           java.lang.String encodedTopic,
                                           @QueryParam("force") @DefaultValue("false")
                                           boolean force,
                                           @QueryParam("authoritative") @DefaultValue("false")
                                           boolean authoritative,
                                           @QueryParam("deleteSchema") @DefaultValue("false")
                                           boolean deleteSchema)
      • unloadTopic

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{topic}/unload")
        public void unloadTopic​(@Suspended
                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                @PathParam("property")
                                java.lang.String property,
                                @PathParam("cluster")
                                java.lang.String cluster,
                                @PathParam("namespace")
                                java.lang.String namespace,
                                @PathParam("topic") @Encoded
                                java.lang.String encodedTopic,
                                @QueryParam("authoritative") @DefaultValue("false")
                                boolean authoritative)
      • deleteTopic

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{topic}")
        public void deleteTopic​(@PathParam("property")
                                java.lang.String property,
                                @PathParam("cluster")
                                java.lang.String cluster,
                                @PathParam("namespace")
                                java.lang.String namespace,
                                @PathParam("topic") @Encoded
                                java.lang.String encodedTopic,
                                @QueryParam("force") @DefaultValue("false")
                                boolean force,
                                @QueryParam("authoritative") @DefaultValue("false")
                                boolean authoritative,
                                @QueryParam("deleteSchema") @DefaultValue("false")
                                boolean deleteSchema)
      • getSubscriptions

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscriptions")
        public void getSubscriptions​(@Suspended
                                     javax.ws.rs.container.AsyncResponse asyncResponse,
                                     @PathParam("property")
                                     java.lang.String property,
                                     @PathParam("cluster")
                                     java.lang.String cluster,
                                     @PathParam("namespace")
                                     java.lang.String namespace,
                                     @PathParam("topic") @Encoded
                                     java.lang.String encodedTopic,
                                     @QueryParam("authoritative") @DefaultValue("false")
                                     boolean authoritative)
      • getStats

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/stats")
        public org.apache.pulsar.common.policies.data.TopicStats getStats​(@PathParam("property")
                                                                          java.lang.String property,
                                                                          @PathParam("cluster")
                                                                          java.lang.String cluster,
                                                                          @PathParam("namespace")
                                                                          java.lang.String namespace,
                                                                          @PathParam("topic") @Encoded
                                                                          java.lang.String encodedTopic,
                                                                          @QueryParam("authoritative") @DefaultValue("false")
                                                                          boolean authoritative,
                                                                          @QueryParam("getPreciseBacklog") @DefaultValue("false")
                                                                          boolean getPreciseBacklog)
      • getInternalStats

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/internalStats")
        public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats​(@PathParam("property")
                                                                                                    java.lang.String property,
                                                                                                    @PathParam("cluster")
                                                                                                    java.lang.String cluster,
                                                                                                    @PathParam("namespace")
                                                                                                    java.lang.String namespace,
                                                                                                    @PathParam("topic") @Encoded
                                                                                                    java.lang.String encodedTopic,
                                                                                                    @QueryParam("authoritative") @DefaultValue("false")
                                                                                                    boolean authoritative,
                                                                                                    @QueryParam("metadata") @DefaultValue("false")
                                                                                                    boolean metadata)
      • getManagedLedgerInfo

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/internal-info")
        public void getManagedLedgerInfo​(@PathParam("property")
                                         java.lang.String property,
                                         @PathParam("cluster")
                                         java.lang.String cluster,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         @PathParam("topic") @Encoded
                                         java.lang.String encodedTopic,
                                         @Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @QueryParam("authoritative") @DefaultValue("false")
                                         boolean authoritative)
      • getPartitionedStats

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/partitioned-stats")
        public void getPartitionedStats​(@Suspended
                                        javax.ws.rs.container.AsyncResponse asyncResponse,
                                        @PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        @PathParam("topic") @Encoded
                                        java.lang.String encodedTopic,
                                        @QueryParam("perPartition") @DefaultValue("true")
                                        boolean perPartition,
                                        @QueryParam("authoritative") @DefaultValue("false")
                                        boolean authoritative)
      • getPartitionedStatsInternal

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/partitioned-internalStats")
        public void getPartitionedStatsInternal​(@Suspended
                                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                                @PathParam("property")
                                                java.lang.String property,
                                                @PathParam("cluster")
                                                java.lang.String cluster,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                @PathParam("topic") @Encoded
                                                java.lang.String encodedTopic,
                                                @QueryParam("authoritative") @DefaultValue("false")
                                                boolean authoritative)
      • deleteSubscription

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}")
        public void deleteSubscription​(@Suspended
                                       javax.ws.rs.container.AsyncResponse asyncResponse,
                                       @PathParam("property")
                                       java.lang.String property,
                                       @PathParam("cluster")
                                       java.lang.String cluster,
                                       @PathParam("namespace")
                                       java.lang.String namespace,
                                       @PathParam("topic") @Encoded
                                       java.lang.String encodedTopic,
                                       @PathParam("subName")
                                       java.lang.String encodedSubName,
                                       @QueryParam("force") @DefaultValue("false")
                                       boolean force,
                                       @QueryParam("authoritative") @DefaultValue("false")
                                       boolean authoritative)
      • skipAllMessages

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/skip_all")
        public void skipAllMessages​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    @PathParam("topic") @Encoded
                                    java.lang.String encodedTopic,
                                    @PathParam("subName")
                                    java.lang.String encodedSubName,
                                    @QueryParam("authoritative") @DefaultValue("false")
                                    boolean authoritative)
      • skipMessages

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/skip/{numMessages}")
        public void skipMessages​(@PathParam("property")
                                 java.lang.String property,
                                 @PathParam("cluster")
                                 java.lang.String cluster,
                                 @PathParam("namespace")
                                 java.lang.String namespace,
                                 @PathParam("topic") @Encoded
                                 java.lang.String encodedTopic,
                                 @PathParam("subName")
                                 java.lang.String encodedSubName,
                                 @PathParam("numMessages")
                                 int numMessages,
                                 @QueryParam("authoritative") @DefaultValue("false")
                                 boolean authoritative)
      • expireTopicMessages

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/expireMessages/{expireTimeInSeconds}")
        public void expireTopicMessages​(@Suspended
                                        javax.ws.rs.container.AsyncResponse asyncResponse,
                                        @PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        @PathParam("topic") @Encoded
                                        java.lang.String encodedTopic,
                                        @PathParam("subName")
                                        java.lang.String encodedSubName,
                                        @PathParam("expireTimeInSeconds")
                                        int expireTimeInSeconds,
                                        @QueryParam("authoritative") @DefaultValue("false")
                                        boolean authoritative)
      • expireTopicMessages

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/expireMessages")
        public void expireTopicMessages​(@Suspended
                                        javax.ws.rs.container.AsyncResponse asyncResponse,
                                        @PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        @PathParam("topic") @Encoded
                                        java.lang.String encodedTopic,
                                        @PathParam("subName")
                                        java.lang.String encodedSubName,
                                        @QueryParam("authoritative") @DefaultValue("false")
                                        boolean authoritative,
                                        org.apache.pulsar.client.impl.ResetCursorData resetCursorData)
      • expireMessagesForAllSubscriptions

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/all_subscription/expireMessages/{expireTimeInSeconds}")
        public void expireMessagesForAllSubscriptions​(@Suspended
                                                      javax.ws.rs.container.AsyncResponse asyncResponse,
                                                      @PathParam("property")
                                                      java.lang.String property,
                                                      @PathParam("cluster")
                                                      java.lang.String cluster,
                                                      @PathParam("namespace")
                                                      java.lang.String namespace,
                                                      @PathParam("topic") @Encoded
                                                      java.lang.String encodedTopic,
                                                      @PathParam("expireTimeInSeconds")
                                                      int expireTimeInSeconds,
                                                      @QueryParam("authoritative") @DefaultValue("false")
                                                      boolean authoritative)
      • resetCursor

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/resetcursor/{timestamp}")
        public void resetCursor​(@Suspended
                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                @PathParam("property")
                                java.lang.String property,
                                @PathParam("cluster")
                                java.lang.String cluster,
                                @PathParam("namespace")
                                java.lang.String namespace,
                                @PathParam("topic") @Encoded
                                java.lang.String encodedTopic,
                                @PathParam("subName")
                                java.lang.String encodedSubName,
                                @PathParam("timestamp")
                                long timestamp,
                                @QueryParam("authoritative") @DefaultValue("false")
                                boolean authoritative)
      • resetCursorOnPosition

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/resetcursor")
        public void resetCursorOnPosition​(@Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse,
                                          @PathParam("property")
                                          java.lang.String property,
                                          @PathParam("cluster")
                                          java.lang.String cluster,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @PathParam("topic") @Encoded
                                          java.lang.String encodedTopic,
                                          @PathParam("subName")
                                          java.lang.String encodedSubName,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative,
                                          org.apache.pulsar.client.impl.ResetCursorData resetCursorData)
      • createSubscription

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subscriptionName}")
        public void createSubscription​(@Suspended
                                       javax.ws.rs.container.AsyncResponse asyncResponse,
                                       @PathParam("property")
                                       java.lang.String property,
                                       @PathParam("cluster")
                                       java.lang.String cluster,
                                       @PathParam("namespace")
                                       java.lang.String namespace,
                                       @PathParam("topic") @Encoded
                                       java.lang.String topic,
                                       @PathParam("subscriptionName")
                                       java.lang.String encodedSubName,
                                       @QueryParam("authoritative") @DefaultValue("false")
                                       boolean authoritative,
                                       org.apache.pulsar.client.impl.MessageIdImpl messageId,
                                       @QueryParam("replicated")
                                       boolean replicated)
      • peekNthMessage

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/subscription/{subName}/position/{messagePosition}")
        public javax.ws.rs.core.Response peekNthMessage​(@PathParam("property")
                                                        java.lang.String property,
                                                        @PathParam("cluster")
                                                        java.lang.String cluster,
                                                        @PathParam("namespace")
                                                        java.lang.String namespace,
                                                        @PathParam("topic") @Encoded
                                                        java.lang.String encodedTopic,
                                                        @PathParam("subName")
                                                        java.lang.String encodedSubName,
                                                        @PathParam("messagePosition")
                                                        int messagePosition,
                                                        @QueryParam("authoritative") @DefaultValue("false")
                                                        boolean authoritative)
      • getMessageByID

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/ledger/{ledgerId}/entry/{entryId}")
        public void getMessageByID​(@Suspended
                                   javax.ws.rs.container.AsyncResponse asyncResponse,
                                   @PathParam("property")
                                   java.lang.String property,
                                   @PathParam("cluster")
                                   java.lang.String cluster,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   @PathParam("topic") @Encoded
                                   java.lang.String encodedTopic,
                                   @PathParam("ledgerId")
                                   java.lang.Long ledgerId,
                                   @PathParam("entryId")
                                   java.lang.Long entryId,
                                   @QueryParam("authoritative") @DefaultValue("false")
                                   boolean authoritative)
      • getBacklog

        @GET
        @Path("{property}/{cluster}/{namespace}/{topic}/backlog")
        public org.apache.pulsar.common.policies.data.PersistentOfflineTopicStats getBacklog​(@PathParam("property")
                                                                                             java.lang.String property,
                                                                                             @PathParam("cluster")
                                                                                             java.lang.String cluster,
                                                                                             @PathParam("namespace")
                                                                                             java.lang.String namespace,
                                                                                             @PathParam("topic") @Encoded
                                                                                             java.lang.String encodedTopic,
                                                                                             @QueryParam("authoritative") @DefaultValue("false")
                                                                                             boolean authoritative)
      • terminate

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/terminate")
        public org.apache.pulsar.client.api.MessageId terminate​(@PathParam("property")
                                                                java.lang.String property,
                                                                @PathParam("cluster")
                                                                java.lang.String cluster,
                                                                @PathParam("namespace")
                                                                java.lang.String namespace,
                                                                @PathParam("topic") @Encoded
                                                                java.lang.String encodedTopic,
                                                                @QueryParam("authoritative") @DefaultValue("false")
                                                                boolean authoritative)
      • terminatePartitionedTopic

        @POST
        @Path("/{property}/{cluster}/{namespace}/{topic}/terminate/partitions")
        public void terminatePartitionedTopic​(@Suspended
                                              javax.ws.rs.container.AsyncResponse asyncResponse,
                                              @PathParam("property")
                                              java.lang.String property,
                                              @PathParam("cluster")
                                              java.lang.String cluster,
                                              @PathParam("namespace")
                                              java.lang.String namespace,
                                              @PathParam("topic") @Encoded
                                              java.lang.String encodedTopic,
                                              @QueryParam("authoritative") @DefaultValue("false")
                                              boolean authoritative)
      • compact

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{topic}/compaction")
        public void compact​(@Suspended
                            javax.ws.rs.container.AsyncResponse asyncResponse,
                            @PathParam("property")
                            java.lang.String property,
                            @PathParam("cluster")
                            java.lang.String cluster,
                            @PathParam("namespace")
                            java.lang.String namespace,
                            @PathParam("topic") @Encoded
                            java.lang.String encodedTopic,
                            @QueryParam("authoritative") @DefaultValue("false")
                            boolean authoritative)
      • compactionStatus

        @GET
        @Path("/{property}/{cluster}/{namespace}/{topic}/compaction")
        public org.apache.pulsar.client.admin.LongRunningProcessStatus compactionStatus​(@PathParam("property")
                                                                                        java.lang.String property,
                                                                                        @PathParam("cluster")
                                                                                        java.lang.String cluster,
                                                                                        @PathParam("namespace")
                                                                                        java.lang.String namespace,
                                                                                        @PathParam("topic") @Encoded
                                                                                        java.lang.String encodedTopic,
                                                                                        @QueryParam("authoritative") @DefaultValue("false")
                                                                                        boolean authoritative)
      • triggerOffload

        @PUT
        @Path("/{tenant}/{cluster}/{namespace}/{topic}/offload")
        public void triggerOffload​(@PathParam("tenant")
                                   java.lang.String tenant,
                                   @PathParam("cluster")
                                   java.lang.String cluster,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   @PathParam("topic") @Encoded
                                   java.lang.String encodedTopic,
                                   @QueryParam("authoritative") @DefaultValue("false")
                                   boolean authoritative,
                                   org.apache.pulsar.client.impl.MessageIdImpl messageId)
      • offloadStatus

        @GET
        @Path("/{tenant}/{cluster}/{namespace}/{topic}/offload")
        public org.apache.pulsar.client.admin.OffloadProcessStatus offloadStatus​(@PathParam("tenant")
                                                                                 java.lang.String tenant,
                                                                                 @PathParam("cluster")
                                                                                 java.lang.String cluster,
                                                                                 @PathParam("namespace")
                                                                                 java.lang.String namespace,
                                                                                 @PathParam("topic") @Encoded
                                                                                 java.lang.String encodedTopic,
                                                                                 @QueryParam("authoritative") @DefaultValue("false")
                                                                                 boolean authoritative)
      • getLastMessageId

        @GET
        @Path("/{tenant}/{cluster}/{namespace}/{topic}/lastMessageId")
        public void getLastMessageId​(@Suspended
                                     javax.ws.rs.container.AsyncResponse asyncResponse,
                                     @PathParam("tenant")
                                     java.lang.String tenant,
                                     @PathParam("cluster")
                                     java.lang.String cluster,
                                     @PathParam("namespace")
                                     java.lang.String namespace,
                                     @PathParam("topic") @Encoded
                                     java.lang.String encodedTopic,
                                     @QueryParam("authoritative") @DefaultValue("false")
                                     boolean authoritative)
      • setReplicatedSubscriptionStatus

        @POST
        @Path("/{tenant}/{cluster}/{namespace}/{topic}/subscription/{subName}/replicatedSubscriptionStatus")
        public void setReplicatedSubscriptionStatus​(@Suspended
                                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                                    @PathParam("tenant")
                                                    java.lang.String tenant,
                                                    @PathParam("cluster")
                                                    java.lang.String cluster,
                                                    @PathParam("namespace")
                                                    java.lang.String namespace,
                                                    @PathParam("topic") @Encoded
                                                    java.lang.String encodedTopic,
                                                    @PathParam("subName")
                                                    java.lang.String encodedSubName,
                                                    @QueryParam("authoritative") @DefaultValue("false")
                                                    boolean authoritative,
                                                    boolean enabled)