Class Namespaces


  • @Path("/namespaces")
    @Produces("application/json")
    @Consumes("application/json")
    public class Namespaces
    extends NamespacesBase
    • Constructor Detail

      • Namespaces

        public Namespaces()
    • Method Detail

      • getTenantNamespaces

        @GET
        @Path("/{tenant}")
        public java.util.List<java.lang.String> getTenantNamespaces​(@PathParam("tenant")
                                                                    java.lang.String tenant)
      • getTopics

        @GET
        @Path("/{tenant}/{namespace}/topics")
        public void getTopics​(@PathParam("tenant")
                              java.lang.String tenant,
                              @PathParam("namespace")
                              java.lang.String namespace,
                              @QueryParam("mode") @DefaultValue("PERSISTENT")
                              org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode,
                              @Suspended
                              javax.ws.rs.container.AsyncResponse asyncResponse)
      • getPolicies

        @GET
        @Path("/{tenant}/{namespace}")
        public org.apache.pulsar.common.policies.data.Policies getPolicies​(@PathParam("tenant")
                                                                           java.lang.String tenant,
                                                                           @PathParam("namespace")
                                                                           java.lang.String namespace)
      • createNamespace

        @PUT
        @Path("/{tenant}/{namespace}")
        public void createNamespace​(@PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    org.apache.pulsar.common.policies.data.Policies policies)
      • deleteNamespace

        @DELETE
        @Path("/{tenant}/{namespace}")
        public void deleteNamespace​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    @QueryParam("force") @DefaultValue("false")
                                    boolean force,
                                    @QueryParam("authoritative") @DefaultValue("false")
                                    boolean authoritative)
      • deleteNamespaceBundle

        @DELETE
        @Path("/{tenant}/{namespace}/{bundle}")
        public void deleteNamespaceBundle​(@PathParam("tenant")
                                          java.lang.String tenant,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @PathParam("bundle")
                                          java.lang.String bundleRange,
                                          @QueryParam("force") @DefaultValue("false")
                                          boolean force,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • getPermissions

        @GET
        @Path("/{tenant}/{namespace}/permissions")
        public java.util.Map<java.lang.String,​java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissions​(@PathParam("tenant")
                                                                                                                                     java.lang.String tenant,
                                                                                                                                     @PathParam("namespace")
                                                                                                                                     java.lang.String namespace)
      • getPermissionOnSubscription

        @GET
        @Path("/{tenant}/{namespace}/permissions/subscription")
        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getPermissionOnSubscription​(@PathParam("tenant")
                                                                                                                 java.lang.String tenant,
                                                                                                                 @PathParam("namespace")
                                                                                                                 java.lang.String namespace)
      • grantPermissionOnNamespace

        @POST
        @Path("/{tenant}/{namespace}/permissions/{role}")
        public void grantPermissionOnNamespace​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               @PathParam("role")
                                               java.lang.String role,
                                               java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
      • grantPermissionOnSubscription

        @POST
        @Path("/{property}/{namespace}/permissions/subscription/{subscription}")
        public void grantPermissionOnSubscription​(@PathParam("property")
                                                  java.lang.String property,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  @PathParam("subscription")
                                                  java.lang.String subscription,
                                                  java.util.Set<java.lang.String> roles)
      • revokePermissionsOnNamespace

        @DELETE
        @Path("/{tenant}/{namespace}/permissions/{role}")
        public void revokePermissionsOnNamespace​(@PathParam("tenant")
                                                 java.lang.String tenant,
                                                 @PathParam("namespace")
                                                 java.lang.String namespace,
                                                 @PathParam("role")
                                                 java.lang.String role)
      • revokePermissionOnSubscription

        @DELETE
        @Path("/{property}/{namespace}/permissions/{subscription}/{role}")
        public void revokePermissionOnSubscription​(@PathParam("property")
                                                   java.lang.String property,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace,
                                                   @PathParam("subscription")
                                                   java.lang.String subscription,
                                                   @PathParam("role")
                                                   java.lang.String role)
      • getNamespaceReplicationClusters

        @GET
        @Path("/{tenant}/{namespace}/replication")
        public java.util.Set<java.lang.String> getNamespaceReplicationClusters​(@PathParam("tenant")
                                                                               java.lang.String tenant,
                                                                               @PathParam("namespace")
                                                                               java.lang.String namespace)
      • setNamespaceReplicationClusters

        @POST
        @Path("/{tenant}/{namespace}/replication")
        public void setNamespaceReplicationClusters​(@PathParam("tenant")
                                                    java.lang.String tenant,
                                                    @PathParam("namespace")
                                                    java.lang.String namespace,
                                                    java.util.List<java.lang.String> clusterIds)
      • getNamespaceMessageTTL

        @GET
        @Path("/{tenant}/{namespace}/messageTTL")
        public java.lang.Integer getNamespaceMessageTTL​(@PathParam("tenant")
                                                        java.lang.String tenant,
                                                        @PathParam("namespace")
                                                        java.lang.String namespace)
      • setNamespaceMessageTTL

        @POST
        @Path("/{tenant}/{namespace}/messageTTL")
        public void setNamespaceMessageTTL​(@PathParam("tenant")
                                           java.lang.String tenant,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           int messageTTL)
      • removeNamespaceMessageTTL

        @DELETE
        @Path("/{tenant}/{namespace}/messageTTL")
        public void removeNamespaceMessageTTL​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("namespace")
                                              java.lang.String namespace)
      • getSubscriptionExpirationTime

        @GET
        @Path("/{tenant}/{namespace}/subscriptionExpirationTime")
        public java.lang.Integer getSubscriptionExpirationTime​(@PathParam("tenant")
                                                               java.lang.String tenant,
                                                               @PathParam("namespace")
                                                               java.lang.String namespace)
      • setSubscriptionExpirationTime

        @POST
        @Path("/{tenant}/{namespace}/subscriptionExpirationTime")
        public void setSubscriptionExpirationTime​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  int expirationTime)
      • removeSubscriptionExpirationTime

        @DELETE
        @Path("/{tenant}/{namespace}/subscriptionExpirationTime")
        public void removeSubscriptionExpirationTime​(@PathParam("tenant")
                                                     java.lang.String tenant,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • getDeduplication

        @GET
        @Path("/{tenant}/{namespace}/deduplication")
        public java.lang.Boolean getDeduplication​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace)
      • modifyDeduplication

        @POST
        @Path("/{tenant}/{namespace}/deduplication")
        public void modifyDeduplication​(@PathParam("tenant")
                                        java.lang.String tenant,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        boolean enableDeduplication)
      • removeDeduplication

        @DELETE
        @Path("/{tenant}/{namespace}/deduplication")
        public void removeDeduplication​(@PathParam("tenant")
                                        java.lang.String tenant,
                                        @PathParam("namespace")
                                        java.lang.String namespace)
      • getAutoTopicCreation

        @GET
        @Path("/{tenant}/{namespace}/autoTopicCreation")
        public org.apache.pulsar.common.policies.data.AutoTopicCreationOverride getAutoTopicCreation​(@PathParam("tenant")
                                                                                                     java.lang.String tenant,
                                                                                                     @PathParam("namespace")
                                                                                                     java.lang.String namespace)
      • setAutoTopicCreation

        @POST
        @Path("/{tenant}/{namespace}/autoTopicCreation")
        public void setAutoTopicCreation​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("tenant")
                                         java.lang.String tenant,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)
      • removeAutoTopicCreation

        @DELETE
        @Path("/{tenant}/{namespace}/autoTopicCreation")
        public void removeAutoTopicCreation​(@Suspended
                                            javax.ws.rs.container.AsyncResponse asyncResponse,
                                            @PathParam("tenant")
                                            java.lang.String tenant,
                                            @PathParam("namespace")
                                            java.lang.String namespace)
      • setAutoSubscriptionCreation

        @POST
        @Path("/{tenant}/{namespace}/autoSubscriptionCreation")
        public void setAutoSubscriptionCreation​(@Suspended
                                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                                @PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)
      • getAutoSubscriptionCreation

        @GET
        @Path("/{tenant}/{namespace}/autoSubscriptionCreation")
        public org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride getAutoSubscriptionCreation​(@PathParam("tenant")
                                                                                                                   java.lang.String tenant,
                                                                                                                   @PathParam("namespace")
                                                                                                                   java.lang.String namespace)
      • removeAutoSubscriptionCreation

        @DELETE
        @Path("/{tenant}/{namespace}/autoSubscriptionCreation")
        public void removeAutoSubscriptionCreation​(@Suspended
                                                   javax.ws.rs.container.AsyncResponse asyncResponse,
                                                   @PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace)
      • getBundlesData

        @GET
        @Path("/{tenant}/{namespace}/bundles")
        public org.apache.pulsar.common.policies.data.BundlesData getBundlesData​(@PathParam("tenant")
                                                                                 java.lang.String tenant,
                                                                                 @PathParam("namespace")
                                                                                 java.lang.String namespace)
      • unloadNamespace

        @PUT
        @Path("/{tenant}/{namespace}/unload")
        public void unloadNamespace​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace)
      • unloadNamespaceBundle

        @PUT
        @Path("/{tenant}/{namespace}/{bundle}/unload")
        public void unloadNamespaceBundle​(@Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse,
                                          @PathParam("tenant")
                                          java.lang.String tenant,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @PathParam("bundle")
                                          java.lang.String bundleRange,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • splitNamespaceBundle

        @PUT
        @Path("/{tenant}/{namespace}/{bundle}/split")
        public void splitNamespaceBundle​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("tenant")
                                         java.lang.String tenant,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         @PathParam("bundle")
                                         java.lang.String bundleRange,
                                         @QueryParam("authoritative") @DefaultValue("false")
                                         boolean authoritative,
                                         @QueryParam("unload") @DefaultValue("false")
                                         boolean unload,
                                         @QueryParam("splitAlgorithmName")
                                         java.lang.String splitAlgorithmName)
      • setPublishRate

        @POST
        @Path("/{property}/{namespace}/publishRate")
        public void setPublishRate​(@PathParam("property")
                                   java.lang.String property,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   org.apache.pulsar.common.policies.data.PublishRate publishRate)
      • removePublishRate

        @DELETE
        @Path("/{property}/{namespace}/publishRate")
        public void removePublishRate​(@PathParam("property")
                                      java.lang.String property,
                                      @PathParam("namespace")
                                      java.lang.String namespace)
      • getPublishRate

        @GET
        @Path("/{property}/{namespace}/publishRate")
        public org.apache.pulsar.common.policies.data.PublishRate getPublishRate​(@PathParam("property")
                                                                                 java.lang.String property,
                                                                                 @PathParam("namespace")
                                                                                 java.lang.String namespace)
      • setDispatchRate

        @POST
        @Path("/{tenant}/{namespace}/dispatchRate")
        public void setDispatchRate​(@PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • deleteDispatchRate

        @DELETE
        @Path("/{tenant}/{namespace}/dispatchRate")
        public void deleteDispatchRate​(@PathParam("tenant")
                                       java.lang.String tenant,
                                       @PathParam("namespace")
                                       java.lang.String namespace)
      • getDispatchRate

        @GET
        @Path("/{tenant}/{namespace}/dispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getDispatchRate​(@PathParam("tenant")
                                                                                   java.lang.String tenant,
                                                                                   @PathParam("namespace")
                                                                                   java.lang.String namespace)
      • setSubscriptionDispatchRate

        @POST
        @Path("/{tenant}/{namespace}/subscriptionDispatchRate")
        public void setSubscriptionDispatchRate​(@PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • getSubscriptionDispatchRate

        @GET
        @Path("/{tenant}/{namespace}/subscriptionDispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getSubscriptionDispatchRate​(@PathParam("tenant")
                                                                                               java.lang.String tenant,
                                                                                               @PathParam("namespace")
                                                                                               java.lang.String namespace)
      • deleteSubscriptionDispatchRate

        @DELETE
        @Path("/{tenant}/{namespace}/subscriptionDispatchRate")
        public void deleteSubscriptionDispatchRate​(@PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace)
      • deleteSubscribeRate

        @DELETE
        @Path("/{tenant}/{namespace}/subscribeRate")
        public void deleteSubscribeRate​(@PathParam("tenant")
                                        java.lang.String tenant,
                                        @PathParam("namespace")
                                        java.lang.String namespace)
      • setSubscribeRate

        @POST
        @Path("/{tenant}/{namespace}/subscribeRate")
        public void setSubscribeRate​(@PathParam("tenant")
                                     java.lang.String tenant,
                                     @PathParam("namespace")
                                     java.lang.String namespace,
                                     org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
      • getSubscribeRate

        @GET
        @Path("/{tenant}/{namespace}/subscribeRate")
        public org.apache.pulsar.common.policies.data.SubscribeRate getSubscribeRate​(@PathParam("tenant")
                                                                                     java.lang.String tenant,
                                                                                     @PathParam("namespace")
                                                                                     java.lang.String namespace)
      • removeReplicatorDispatchRate

        @DELETE
        @Path("/{tenant}/{namespace}/replicatorDispatchRate")
        public void removeReplicatorDispatchRate​(@PathParam("tenant")
                                                 java.lang.String tenant,
                                                 @PathParam("namespace")
                                                 java.lang.String namespace)
      • setReplicatorDispatchRate

        @POST
        @Path("/{tenant}/{namespace}/replicatorDispatchRate")
        public void setReplicatorDispatchRate​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("namespace")
                                              java.lang.String namespace,
                                              org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • getReplicatorDispatchRate

        @GET
        @Path("/{tenant}/{namespace}/replicatorDispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getReplicatorDispatchRate​(@PathParam("tenant")
                                                                                             java.lang.String tenant,
                                                                                             @PathParam("namespace")
                                                                                             java.lang.String namespace)
      • getBacklogQuotaMap

        @GET
        @Path("/{tenant}/{namespace}/backlogQuotaMap")
        public java.util.Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,​org.apache.pulsar.common.policies.data.BacklogQuota> getBacklogQuotaMap​(@PathParam("tenant")
                                                                                                                                                                                java.lang.String tenant,
                                                                                                                                                                                @PathParam("namespace")
                                                                                                                                                                                java.lang.String namespace)
      • setBacklogQuota

        @POST
        @Path("/{tenant}/{namespace}/backlogQuota")
        public void setBacklogQuota​(@PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    @QueryParam("backlogQuotaType")
                                    org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType,
                                    org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
      • removeBacklogQuota

        @DELETE
        @Path("/{tenant}/{namespace}/backlogQuota")
        public void removeBacklogQuota​(@PathParam("tenant")
                                       java.lang.String tenant,
                                       @PathParam("namespace")
                                       java.lang.String namespace,
                                       @QueryParam("backlogQuotaType")
                                       org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)
      • getRetention

        @GET
        @Path("/{tenant}/{namespace}/retention")
        public org.apache.pulsar.common.policies.data.RetentionPolicies getRetention​(@PathParam("tenant")
                                                                                     java.lang.String tenant,
                                                                                     @PathParam("namespace")
                                                                                     java.lang.String namespace)
      • setRetention

        @POST
        @Path("/{tenant}/{namespace}/retention")
        public void setRetention​(@PathParam("tenant")
                                 java.lang.String tenant,
                                 @PathParam("namespace")
                                 java.lang.String namespace,
                                 org.apache.pulsar.common.policies.data.RetentionPolicies retention)
      • removeRetention

        @DELETE
        @Path("/{tenant}/{namespace}/retention")
        public void removeRetention​(@PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    org.apache.pulsar.common.policies.data.RetentionPolicies retention)
      • setPersistence

        @POST
        @Path("/{tenant}/{namespace}/persistence")
        public void setPersistence​(@PathParam("tenant")
                                   java.lang.String tenant,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   org.apache.pulsar.common.policies.data.PersistencePolicies persistence)
      • deletePersistence

        @DELETE
        @Path("/{tenant}/{namespace}/persistence")
        public void deletePersistence​(@PathParam("tenant")
                                      java.lang.String tenant,
                                      @PathParam("namespace")
                                      java.lang.String namespace)
      • setBookieAffinityGroup

        @POST
        @Path("/{tenant}/{namespace}/persistence/bookieAffinity")
        public void setBookieAffinityGroup​(@PathParam("tenant")
                                           java.lang.String tenant,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)
      • getBookieAffinityGroup

        @GET
        @Path("/{property}/{namespace}/persistence/bookieAffinity")
        public org.apache.pulsar.common.policies.data.BookieAffinityGroupData getBookieAffinityGroup​(@PathParam("property")
                                                                                                     java.lang.String property,
                                                                                                     @PathParam("namespace")
                                                                                                     java.lang.String namespace)
      • deleteBookieAffinityGroup

        @DELETE
        @Path("/{property}/{namespace}/persistence/bookieAffinity")
        public void deleteBookieAffinityGroup​(@PathParam("property")
                                              java.lang.String property,
                                              @PathParam("namespace")
                                              java.lang.String namespace)
      • getPersistence

        @GET
        @Path("/{tenant}/{namespace}/persistence")
        public org.apache.pulsar.common.policies.data.PersistencePolicies getPersistence​(@PathParam("tenant")
                                                                                         java.lang.String tenant,
                                                                                         @PathParam("namespace")
                                                                                         java.lang.String namespace)
      • clearNamespaceBacklog

        @POST
        @Path("/{tenant}/{namespace}/clearBacklog")
        public void clearNamespaceBacklog​(@Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse,
                                          @PathParam("tenant")
                                          java.lang.String tenant,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • clearNamespaceBundleBacklog

        @POST
        @Path("/{tenant}/{namespace}/{bundle}/clearBacklog")
        public void clearNamespaceBundleBacklog​(@PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                @PathParam("bundle")
                                                java.lang.String bundleRange,
                                                @QueryParam("authoritative") @DefaultValue("false")
                                                boolean authoritative)
      • clearNamespaceBacklogForSubscription

        @POST
        @Path("/{tenant}/{namespace}/clearBacklog/{subscription}")
        public void clearNamespaceBacklogForSubscription​(@Suspended
                                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                                         @PathParam("tenant")
                                                         java.lang.String tenant,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace,
                                                         @PathParam("subscription")
                                                         java.lang.String subscription,
                                                         @QueryParam("authoritative") @DefaultValue("false")
                                                         boolean authoritative)
      • clearNamespaceBundleBacklogForSubscription

        @POST
        @Path("/{tenant}/{namespace}/{bundle}/clearBacklog/{subscription}")
        public void clearNamespaceBundleBacklogForSubscription​(@PathParam("tenant")
                                                               java.lang.String tenant,
                                                               @PathParam("namespace")
                                                               java.lang.String namespace,
                                                               @PathParam("subscription")
                                                               java.lang.String subscription,
                                                               @PathParam("bundle")
                                                               java.lang.String bundleRange,
                                                               @QueryParam("authoritative") @DefaultValue("false")
                                                               boolean authoritative)
      • unsubscribeNamespace

        @POST
        @Path("/{tenant}/{namespace}/unsubscribe/{subscription}")
        public void unsubscribeNamespace​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("tenant")
                                         java.lang.String tenant,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         @PathParam("subscription")
                                         java.lang.String subscription,
                                         @QueryParam("authoritative") @DefaultValue("false")
                                         boolean authoritative)
      • unsubscribeNamespaceBundle

        @POST
        @Path("/{tenant}/{namespace}/{bundle}/unsubscribe/{subscription}")
        public void unsubscribeNamespaceBundle​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               @PathParam("subscription")
                                               java.lang.String subscription,
                                               @PathParam("bundle")
                                               java.lang.String bundleRange,
                                               @QueryParam("authoritative") @DefaultValue("false")
                                               boolean authoritative)
      • setSubscriptionAuthMode

        @POST
        @Path("/{tenant}/{namespace}/subscriptionAuthMode")
        public void setSubscriptionAuthMode​(@PathParam("tenant")
                                            java.lang.String tenant,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)
      • getSubscriptionAuthMode

        @GET
        @Path("/{tenant}/{namespace}/subscriptionAuthMode")
        public org.apache.pulsar.common.policies.data.SubscriptionAuthMode getSubscriptionAuthMode​(@PathParam("tenant")
                                                                                                   java.lang.String tenant,
                                                                                                   @PathParam("namespace")
                                                                                                   java.lang.String namespace)
      • modifyEncryptionRequired

        @POST
        @Path("/{tenant}/{namespace}/encryptionRequired")
        public void modifyEncryptionRequired​(@PathParam("tenant")
                                             java.lang.String tenant,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             boolean encryptionRequired)
      • getEncryptionRequired

        @GET
        @Path("/{tenant}/{namespace}/encryptionRequired")
        public java.lang.Boolean getEncryptionRequired​(@PathParam("tenant")
                                                       java.lang.String tenant,
                                                       @PathParam("namespace")
                                                       java.lang.String namespace)
      • getDelayedDeliveryPolicies

        @GET
        @Path("/{tenant}/{namespace}/delayedDelivery")
        public org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies getDelayedDeliveryPolicies​(@PathParam("tenant")
                                                                                                         java.lang.String tenant,
                                                                                                         @PathParam("namespace")
                                                                                                         java.lang.String namespace)
      • setDelayedDeliveryPolicies

        @POST
        @Path("/{tenant}/{namespace}/delayedDelivery")
        public void setDelayedDeliveryPolicies​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies deliveryPolicies)
      • removeDelayedDeliveryPolicies

        @DELETE
        @Path("/{tenant}/{namespace}/delayedDelivery")
        public void removeDelayedDeliveryPolicies​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace)
      • getInactiveTopicPolicies

        @GET
        @Path("/{tenant}/{namespace}/inactiveTopicPolicies")
        public org.apache.pulsar.common.policies.data.InactiveTopicPolicies getInactiveTopicPolicies​(@PathParam("tenant")
                                                                                                     java.lang.String tenant,
                                                                                                     @PathParam("namespace")
                                                                                                     java.lang.String namespace)
      • removeInactiveTopicPolicies

        @DELETE
        @Path("/{tenant}/{namespace}/inactiveTopicPolicies")
        public void removeInactiveTopicPolicies​(@PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace)
      • setInactiveTopicPolicies

        @POST
        @Path("/{tenant}/{namespace}/inactiveTopicPolicies")
        public void setInactiveTopicPolicies​(@PathParam("tenant")
                                             java.lang.String tenant,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies)
      • getMaxProducersPerTopic

        @GET
        @Path("/{tenant}/{namespace}/maxProducersPerTopic")
        public java.lang.Integer getMaxProducersPerTopic​(@PathParam("tenant")
                                                         java.lang.String tenant,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace)
      • setMaxProducersPerTopic

        @POST
        @Path("/{tenant}/{namespace}/maxProducersPerTopic")
        public void setMaxProducersPerTopic​(@PathParam("tenant")
                                            java.lang.String tenant,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            int maxProducersPerTopic)
      • removeMaxProducersPerTopic

        @DELETE
        @Path("/{tenant}/{namespace}/maxProducersPerTopic")
        public void removeMaxProducersPerTopic​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace)
      • getDeduplicationSnapshotInterval

        @GET
        @Path("/{tenant}/{namespace}/deduplicationSnapshotInterval")
        public java.lang.Integer getDeduplicationSnapshotInterval​(@PathParam("tenant")
                                                                  java.lang.String tenant,
                                                                  @PathParam("namespace")
                                                                  java.lang.String namespace)
      • setDeduplicationSnapshotInterval

        @POST
        @Path("/{tenant}/{namespace}/deduplicationSnapshotInterval")
        public void setDeduplicationSnapshotInterval​(@PathParam("tenant")
                                                     java.lang.String tenant,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace,
                                                     java.lang.Integer interval)
      • getMaxConsumersPerTopic

        @GET
        @Path("/{tenant}/{namespace}/maxConsumersPerTopic")
        public java.lang.Integer getMaxConsumersPerTopic​(@PathParam("tenant")
                                                         java.lang.String tenant,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace)
      • setMaxConsumersPerTopic

        @POST
        @Path("/{tenant}/{namespace}/maxConsumersPerTopic")
        public void setMaxConsumersPerTopic​(@PathParam("tenant")
                                            java.lang.String tenant,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            int maxConsumersPerTopic)
      • removeMaxConsumersPerTopic

        @DELETE
        @Path("/{tenant}/{namespace}/maxConsumersPerTopic")
        public void removeMaxConsumersPerTopic​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace)
      • getMaxConsumersPerSubscription

        @GET
        @Path("/{tenant}/{namespace}/maxConsumersPerSubscription")
        public java.lang.Integer getMaxConsumersPerSubscription​(@PathParam("tenant")
                                                                java.lang.String tenant,
                                                                @PathParam("namespace")
                                                                java.lang.String namespace)
      • setMaxConsumersPerSubscription

        @POST
        @Path("/{tenant}/{namespace}/maxConsumersPerSubscription")
        public void setMaxConsumersPerSubscription​(@PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace,
                                                   int maxConsumersPerSubscription)
      • removeMaxConsumersPerSubscription

        @DELETE
        @Path("/{tenant}/{namespace}/maxConsumersPerSubscription")
        public void removeMaxConsumersPerSubscription​(@PathParam("tenant")
                                                      java.lang.String tenant,
                                                      @PathParam("namespace")
                                                      java.lang.String namespace)
      • getMaxUnackedMessagesPerConsumer

        @GET
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerConsumer")
        public java.lang.Integer getMaxUnackedMessagesPerConsumer​(@PathParam("tenant")
                                                                  java.lang.String tenant,
                                                                  @PathParam("namespace")
                                                                  java.lang.String namespace)
      • setMaxUnackedMessagesPerConsumer

        @POST
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerConsumer")
        public void setMaxUnackedMessagesPerConsumer​(@PathParam("tenant")
                                                     java.lang.String tenant,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace,
                                                     int maxUnackedMessagesPerConsumer)
      • removeMaxUnackedmessagesPerConsumer

        @DELETE
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerConsumer")
        public void removeMaxUnackedmessagesPerConsumer​(@PathParam("tenant")
                                                        java.lang.String tenant,
                                                        @PathParam("namespace")
                                                        java.lang.String namespace)
      • getMaxUnackedmessagesPerSubscription

        @GET
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerSubscription")
        public java.lang.Integer getMaxUnackedmessagesPerSubscription​(@PathParam("tenant")
                                                                      java.lang.String tenant,
                                                                      @PathParam("namespace")
                                                                      java.lang.String namespace)
      • setMaxUnackedMessagesPerSubscription

        @POST
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerSubscription")
        public void setMaxUnackedMessagesPerSubscription​(@PathParam("tenant")
                                                         java.lang.String tenant,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace,
                                                         int maxUnackedMessagesPerSubscription)
      • removeMaxUnackedmessagesPerSubscription

        @DELETE
        @Path("/{tenant}/{namespace}/maxUnackedMessagesPerSubscription")
        public void removeMaxUnackedmessagesPerSubscription​(@PathParam("tenant")
                                                            java.lang.String tenant,
                                                            @PathParam("namespace")
                                                            java.lang.String namespace)
      • getMaxSubscriptionsPerTopic

        @GET
        @Path("/{tenant}/{namespace}/maxSubscriptionsPerTopic")
        public java.lang.Integer getMaxSubscriptionsPerTopic​(@PathParam("tenant")
                                                             java.lang.String tenant,
                                                             @PathParam("namespace")
                                                             java.lang.String namespace)
      • setMaxSubscriptionsPerTopic

        @POST
        @Path("/{tenant}/{namespace}/maxSubscriptionsPerTopic")
        public void setMaxSubscriptionsPerTopic​(@PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                int maxSubscriptionsPerTopic)
      • removeMaxSubscriptionsPerTopic

        @DELETE
        @Path("/{tenant}/{namespace}/maxSubscriptionsPerTopic")
        public void removeMaxSubscriptionsPerTopic​(@PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace)
      • setNamespaceAntiAffinityGroup

        @POST
        @Path("/{tenant}/{namespace}/antiAffinity")
        public void setNamespaceAntiAffinityGroup​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  java.lang.String antiAffinityGroup)
      • getNamespaceAntiAffinityGroup

        @GET
        @Path("/{tenant}/{namespace}/antiAffinity")
        public java.lang.String getNamespaceAntiAffinityGroup​(@PathParam("tenant")
                                                              java.lang.String tenant,
                                                              @PathParam("namespace")
                                                              java.lang.String namespace)
      • removeNamespaceAntiAffinityGroup

        @DELETE
        @Path("/{tenant}/{namespace}/antiAffinity")
        public void removeNamespaceAntiAffinityGroup​(@PathParam("tenant")
                                                     java.lang.String tenant,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • getAntiAffinityNamespaces

        @GET
        @Path("{cluster}/antiAffinity/{group}")
        public java.util.List<java.lang.String> getAntiAffinityNamespaces​(@PathParam("cluster")
                                                                          java.lang.String cluster,
                                                                          @PathParam("group")
                                                                          java.lang.String antiAffinityGroup,
                                                                          @QueryParam("tenant")
                                                                          java.lang.String tenant)
      • getCompactionThreshold

        @GET
        @Path("/{tenant}/{namespace}/compactionThreshold")
        public java.lang.Long getCompactionThreshold​(@PathParam("tenant")
                                                     java.lang.String tenant,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • setCompactionThreshold

        @PUT
        @Path("/{tenant}/{namespace}/compactionThreshold")
        public void setCompactionThreshold​(@PathParam("tenant")
                                           java.lang.String tenant,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           long newThreshold)
      • deleteCompactionThreshold

        @DELETE
        @Path("/{tenant}/{namespace}/compactionThreshold")
        public void deleteCompactionThreshold​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("namespace")
                                              java.lang.String namespace)
      • getOffloadThreshold

        @GET
        @Path("/{tenant}/{namespace}/offloadThreshold")
        public long getOffloadThreshold​(@PathParam("tenant")
                                        java.lang.String tenant,
                                        @PathParam("namespace")
                                        java.lang.String namespace)
      • setOffloadThreshold

        @PUT
        @Path("/{tenant}/{namespace}/offloadThreshold")
        public void setOffloadThreshold​(@PathParam("tenant")
                                        java.lang.String tenant,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        long newThreshold)
      • getOffloadDeletionLag

        @GET
        @Path("/{tenant}/{namespace}/offloadDeletionLagMs")
        public java.lang.Long getOffloadDeletionLag​(@PathParam("tenant")
                                                    java.lang.String tenant,
                                                    @PathParam("namespace")
                                                    java.lang.String namespace)
      • setOffloadDeletionLag

        @PUT
        @Path("/{tenant}/{namespace}/offloadDeletionLagMs")
        public void setOffloadDeletionLag​(@PathParam("tenant")
                                          java.lang.String tenant,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          long newDeletionLagMs)
      • clearOffloadDeletionLag

        @DELETE
        @Path("/{tenant}/{namespace}/offloadDeletionLagMs")
        public void clearOffloadDeletionLag​(@PathParam("tenant")
                                            java.lang.String tenant,
                                            @PathParam("namespace")
                                            java.lang.String namespace)
      • getSchemaAutoUpdateCompatibilityStrategy

        @GET
        @Path("/{tenant}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
        public org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy getSchemaAutoUpdateCompatibilityStrategy​(@PathParam("tenant")
                                                                                                                                     java.lang.String tenant,
                                                                                                                                     @PathParam("namespace")
                                                                                                                                     java.lang.String namespace)
      • setSchemaAutoUpdateCompatibilityStrategy

        @PUT
        @Path("/{tenant}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
        public void setSchemaAutoUpdateCompatibilityStrategy​(@PathParam("tenant")
                                                             java.lang.String tenant,
                                                             @PathParam("namespace")
                                                             java.lang.String namespace,
                                                             org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)
      • getSchemaCompatibilityStrategy

        @GET
        @Path("/{tenant}/{namespace}/schemaCompatibilityStrategy")
        public org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy getSchemaCompatibilityStrategy​(@PathParam("tenant")
                                                                                                                 java.lang.String tenant,
                                                                                                                 @PathParam("namespace")
                                                                                                                 java.lang.String namespace)
      • setSchemaCompatibilityStrategy

        @PUT
        @Path("/{tenant}/{namespace}/schemaCompatibilityStrategy")
        public void setSchemaCompatibilityStrategy​(@PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace,
                                                   org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)
      • getIsAllowAutoUpdateSchema

        @GET
        @Path("/{tenant}/{namespace}/isAllowAutoUpdateSchema")
        public boolean getIsAllowAutoUpdateSchema​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace)
      • setIsAllowAutoUpdateSchema

        @POST
        @Path("/{tenant}/{namespace}/isAllowAutoUpdateSchema")
        public void setIsAllowAutoUpdateSchema​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               boolean isAllowAutoUpdateSchema)
      • getSubscriptionTypesEnabled

        @GET
        @Path("/{tenant}/{namespace}/subscriptionTypesEnabled")
        public java.util.Set<org.apache.pulsar.client.api.SubscriptionType> getSubscriptionTypesEnabled​(@PathParam("tenant")
                                                                                                        java.lang.String tenant,
                                                                                                        @PathParam("namespace")
                                                                                                        java.lang.String namespace)
      • setSubscriptionTypesEnabled

        @POST
        @Path("/{tenant}/{namespace}/subscriptionTypesEnabled")
        public void setSubscriptionTypesEnabled​(@PathParam("tenant")
                                                java.lang.String tenant,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                java.util.Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled)
      • removeSubscriptionTypesEnabled

        @DELETE
        @Path("/{tenant}/{namespace}/subscriptionTypesEnabled")
        public void removeSubscriptionTypesEnabled​(@PathParam("tenant")
                                                   java.lang.String tenant,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace)
      • getSchemaValidtionEnforced

        @GET
        @Path("/{tenant}/{namespace}/schemaValidationEnforced")
        public boolean getSchemaValidtionEnforced​(@PathParam("tenant")
                                                  java.lang.String tenant,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  @QueryParam("applied") @DefaultValue("false")
                                                  boolean applied)
      • setSchemaValidtionEnforced

        @POST
        @Path("/{tenant}/{namespace}/schemaValidationEnforced")
        public void setSchemaValidtionEnforced​(@PathParam("tenant")
                                               java.lang.String tenant,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               boolean schemaValidationEnforced)
      • setOffloadPolicies

        @POST
        @Path("/{tenant}/{namespace}/offloadPolicies")
        public void setOffloadPolicies​(@PathParam("tenant")
                                       java.lang.String tenant,
                                       @PathParam("namespace")
                                       java.lang.String namespace,
                                       org.apache.pulsar.common.policies.data.OffloadPoliciesImpl offload,
                                       @Suspended
                                       javax.ws.rs.container.AsyncResponse asyncResponse)
      • removeOffloadPolicies

        @DELETE
        @Path("/{tenant}/{namespace}/removeOffloadPolicies")
        public void removeOffloadPolicies​(@PathParam("tenant")
                                          java.lang.String tenant,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse)
      • getOffloadPolicies

        @GET
        @Path("/{tenant}/{namespace}/offloadPolicies")
        public org.apache.pulsar.common.policies.data.OffloadPoliciesImpl getOffloadPolicies​(@PathParam("tenant")
                                                                                             java.lang.String tenant,
                                                                                             @PathParam("namespace")
                                                                                             java.lang.String namespace)
      • getMaxTopicsPerNamespace

        @GET
        @Path("/{tenant}/{namespace}/maxTopicsPerNamespace")
        public java.lang.Integer getMaxTopicsPerNamespace​(@PathParam("tenant")
                                                          java.lang.String tenant,
                                                          @PathParam("namespace")
                                                          java.lang.String namespace)
      • setInactiveTopicPolicies

        @POST
        @Path("/{tenant}/{namespace}/maxTopicsPerNamespace")
        public void setInactiveTopicPolicies​(@PathParam("tenant")
                                             java.lang.String tenant,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             int maxTopicsPerNamespace)
      • setInactiveTopicPolicies

        @DELETE
        @Path("/{tenant}/{namespace}/maxTopicsPerNamespace")
        public void setInactiveTopicPolicies​(@PathParam("tenant")
                                             java.lang.String tenant,
                                             @PathParam("namespace")
                                             java.lang.String namespace)
      • setProperty

        @PUT
        @Path("/{tenant}/{namespace}/property/{key}/{value}")
        public void setProperty​(@Suspended
                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                @PathParam("tenant")
                                java.lang.String tenant,
                                @PathParam("namespace")
                                java.lang.String namespace,
                                @PathParam("key")
                                java.lang.String key,
                                @PathParam("value")
                                java.lang.String value)
      • getProperty

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

        @DELETE
        @Path("/{tenant}/{namespace}/property/{key}")
        public void removeProperty​(@Suspended
                                   javax.ws.rs.container.AsyncResponse asyncResponse,
                                   @PathParam("tenant")
                                   java.lang.String tenant,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   @PathParam("key")
                                   java.lang.String key)
      • setProperties

        @PUT
        @Path("/{tenant}/{namespace}/properties")
        public void setProperties​(@Suspended
                                  javax.ws.rs.container.AsyncResponse asyncResponse,
                                  @PathParam("tenant")
                                  java.lang.String tenant,
                                  @PathParam("namespace")
                                  java.lang.String namespace,
                                  java.util.Map<java.lang.String,​java.lang.String> properties)
      • getProperties

        @GET
        @Path("/{tenant}/{namespace}/properties")
        public void getProperties​(@Suspended
                                  javax.ws.rs.container.AsyncResponse asyncResponse,
                                  @PathParam("tenant")
                                  java.lang.String tenant,
                                  @PathParam("namespace")
                                  java.lang.String namespace)
      • clearProperties

        @DELETE
        @Path("/{tenant}/{namespace}/properties")
        public void clearProperties​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("tenant")
                                    java.lang.String tenant,
                                    @PathParam("namespace")
                                    java.lang.String namespace)
      • getNamespaceResourceGroup

        @GET
        @Path("/{tenant}/{namespace}/resourcegroup")
        public java.lang.String getNamespaceResourceGroup​(@PathParam("tenant")
                                                          java.lang.String tenant,
                                                          @PathParam("namespace")
                                                          java.lang.String namespace)
      • setNamespaceResourceGroup

        @POST
        @Path("/{tenant}/{namespace}/resourcegroup/{resourcegroup}")
        public void setNamespaceResourceGroup​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("namespace")
                                              java.lang.String namespace,
                                              @PathParam("resourcegroup")
                                              java.lang.String rgName)
      • removeNamespaceResourceGroup

        @DELETE
        @Path("/{tenant}/{namespace}/resourcegroup")
        public void removeNamespaceResourceGroup​(@PathParam("tenant")
                                                 java.lang.String tenant,
                                                 @PathParam("namespace")
                                                 java.lang.String namespace)