Class Namespaces


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

    • Namespaces

      public Namespaces()
  • Method Details

    • getTenantNamespaces

      @GET @Path("/{tenant}") public void getTenantNamespaces(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant)
    • getTopics

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

      @GET @Path("/{tenant}/{namespace}") public void getPolicies(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • createNamespace

      @PUT @Path("/{tenant}/{namespace}") public void createNamespace(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") 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") String tenant, @PathParam("namespace") String namespace, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
    • deleteNamespaceBundle

      @DELETE @Path("/{tenant}/{namespace}/{bundle}") public void deleteNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
    • getPermissions

      @GET @Path("/{tenant}/{namespace}/permissions") public void getPermissions(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getPermissionOnSubscription

      @GET @Path("/{tenant}/{namespace}/permissions/subscription") public void getPermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • grantPermissionOnNamespace

      @POST @Path("/{tenant}/{namespace}/permissions/{role}") public void grantPermissionOnNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("role") String role, Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
    • grantPermissionOnSubscription

      @POST @Path("/{property}/{namespace}/permissions/subscription/{subscription}") public void grantPermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, Set<String> roles)
    • revokePermissionsOnNamespace

      @DELETE @Path("/{tenant}/{namespace}/permissions/{role}") public void revokePermissionsOnNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("role") String role)
    • revokePermissionOnSubscription

      @DELETE @Path("/{property}/{namespace}/permissions/{subscription}/{role}") public void revokePermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("role") String role)
    • getNamespaceReplicationClusters

      @GET @Path("/{tenant}/{namespace}/replication") public void getNamespaceReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setNamespaceReplicationClusters

      @POST @Path("/{tenant}/{namespace}/replication") public void setNamespaceReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, List<String> clusterIds)
    • getNamespaceMessageTTL

      @GET @Path("/{tenant}/{namespace}/messageTTL") public void getNamespaceMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setNamespaceMessageTTL

      @POST @Path("/{tenant}/{namespace}/messageTTL") public void setNamespaceMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, int messageTTL)
    • removeNamespaceMessageTTL

      @DELETE @Path("/{tenant}/{namespace}/messageTTL") public void removeNamespaceMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getSubscriptionExpirationTime

      @GET @Path("/{tenant}/{namespace}/subscriptionExpirationTime") public void getSubscriptionExpirationTime(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setSubscriptionExpirationTime

      @POST @Path("/{tenant}/{namespace}/subscriptionExpirationTime") public void setSubscriptionExpirationTime(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, int expirationTime)
    • removeSubscriptionExpirationTime

      @DELETE @Path("/{tenant}/{namespace}/subscriptionExpirationTime") public void removeSubscriptionExpirationTime(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getDeduplication

      @GET @Path("/{tenant}/{namespace}/deduplication") public void getDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • modifyDeduplication

      @POST @Path("/{tenant}/{namespace}/deduplication") public void modifyDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, boolean enableDeduplication)
    • removeDeduplication

      @DELETE @Path("/{tenant}/{namespace}/deduplication") public void removeDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getAutoTopicCreation

      @GET @Path("/{tenant}/{namespace}/autoTopicCreation") public void getAutoTopicCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setAutoTopicCreation

      @POST @Path("/{tenant}/{namespace}/autoTopicCreation") public void setAutoTopicCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") 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") String tenant, @PathParam("namespace") String namespace)
    • setAutoSubscriptionCreation

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

      @GET @Path("/{tenant}/{namespace}/autoSubscriptionCreation") public void getAutoSubscriptionCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • removeAutoSubscriptionCreation

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

      @GET @Path("/{tenant}/{namespace}/bundles") public void getBundlesData(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • unloadNamespace

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

      @PUT @Path("/{tenant}/{namespace}/{bundle}/unload") public void unloadNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") 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") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("unload") @DefaultValue("false") boolean unload, @QueryParam("splitAlgorithmName") String splitAlgorithmName, List<Long> splitBoundaries)
    • getTopicHashPositions

      @GET @Path("/{tenant}/{namespace}/{bundle}/topicHashPositions") public void getTopicHashPositions(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("topics") List<String> topics, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • setPublishRate

      @POST @Path("/{property}/{namespace}/publishRate") public void setPublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate)
    • removePublishRate

      @DELETE @Path("/{property}/{namespace}/publishRate") public void removePublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace)
    • getPublishRate

      @GET @Path("/{property}/{namespace}/publishRate") public void getPublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace)
    • setDispatchRate

      @POST @Path("/{tenant}/{namespace}/dispatchRate") public void setDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
    • deleteDispatchRate

      @DELETE @Path("/{tenant}/{namespace}/dispatchRate") public void deleteDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getDispatchRate

      @GET @Path("/{tenant}/{namespace}/dispatchRate") public void getDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setSubscriptionDispatchRate

      @POST @Path("/{tenant}/{namespace}/subscriptionDispatchRate") public void setSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
    • getSubscriptionDispatchRate

      @GET @Path("/{tenant}/{namespace}/subscriptionDispatchRate") public void getSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • deleteSubscriptionDispatchRate

      @DELETE @Path("/{tenant}/{namespace}/subscriptionDispatchRate") public void deleteSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • deleteSubscribeRate

      @DELETE @Path("/{tenant}/{namespace}/subscribeRate") public void deleteSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setSubscribeRate

      @POST @Path("/{tenant}/{namespace}/subscribeRate") public void setSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
    • getSubscribeRate

      @GET @Path("/{tenant}/{namespace}/subscribeRate") public void getSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • removeReplicatorDispatchRate

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

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

      @GET @Path("/{tenant}/{namespace}/replicatorDispatchRate") public void getReplicatorDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getBacklogQuotaMap

      @GET @Path("/{tenant}/{namespace}/backlogQuotaMap") public void getBacklogQuotaMap(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setBacklogQuota

      @POST @Path("/{tenant}/{namespace}/backlogQuota") public void setBacklogQuota(@PathParam("tenant") String tenant, @PathParam("namespace") 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") String tenant, @PathParam("namespace") String namespace, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)
    • getRetention

      @GET @Path("/{tenant}/{namespace}/retention") public void getRetention(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setRetention

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

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

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

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

      @POST @Path("/{tenant}/{namespace}/persistence/bookieAffinity") public void setBookieAffinityGroup(@PathParam("tenant") String tenant, @PathParam("namespace") 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") String property, @PathParam("namespace") String namespace)
    • deleteBookieAffinityGroup

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

      @GET @Path("/{tenant}/{namespace}/persistence") public void getPersistence(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • clearNamespaceBacklog

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

      @POST @Path("/{tenant}/{namespace}/{bundle}/clearBacklog") public void clearNamespaceBundleBacklog(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") 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") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
    • clearNamespaceBundleBacklogForSubscription

      @POST @Path("/{tenant}/{namespace}/{bundle}/clearBacklog/{subscription}") public void clearNamespaceBundleBacklogForSubscription(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("bundle") 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") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
    • unsubscribeNamespaceBundle

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

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

      @GET @Path("/{tenant}/{namespace}/subscriptionAuthMode") public void getSubscriptionAuthMode(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • modifyEncryptionRequired

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

      @GET @Path("/{tenant}/{namespace}/encryptionRequired") public void getEncryptionRequired(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getDelayedDeliveryPolicies

      @GET @Path("/{tenant}/{namespace}/delayedDelivery") public void getDelayedDeliveryPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setDelayedDeliveryPolicies

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

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

      @GET @Path("/{tenant}/{namespace}/inactiveTopicPolicies") public void getInactiveTopicPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • removeInactiveTopicPolicies

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

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

      @GET @Path("/{tenant}/{namespace}/maxProducersPerTopic") public void getMaxProducersPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxProducersPerTopic

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

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

      @GET @Path("/{tenant}/{namespace}/deduplicationSnapshotInterval") public void getDeduplicationSnapshotInterval(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setDeduplicationSnapshotInterval

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

      @GET @Path("/{tenant}/{namespace}/maxConsumersPerTopic") public void getMaxConsumersPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxConsumersPerTopic

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

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

      @GET @Path("/{tenant}/{namespace}/maxConsumersPerSubscription") public void getMaxConsumersPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxConsumersPerSubscription

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

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

      @GET @Path("/{tenant}/{namespace}/maxUnackedMessagesPerConsumer") public void getMaxUnackedMessagesPerConsumer(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxUnackedMessagesPerConsumer

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

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

      @GET @Path("/{tenant}/{namespace}/maxUnackedMessagesPerSubscription") public void getMaxUnackedmessagesPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxUnackedMessagesPerSubscription

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

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

      @GET @Path("/{tenant}/{namespace}/maxSubscriptionsPerTopic") public void getMaxSubscriptionsPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setMaxSubscriptionsPerTopic

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

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

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

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

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

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

      @GET @Path("/{tenant}/{namespace}/compactionThreshold") public void getCompactionThreshold(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setCompactionThreshold

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

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

      @GET @Path("/{tenant}/{namespace}/offloadThreshold") public void getOffloadThreshold(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setOffloadThreshold

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

      @GET @Path("/{tenant}/{namespace}/offloadDeletionLagMs") public void getOffloadDeletionLag(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setOffloadDeletionLag

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

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

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

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

      @GET @Path("/{tenant}/{namespace}/schemaCompatibilityStrategy") public void getSchemaCompatibilityStrategy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setSchemaCompatibilityStrategy

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

      @GET @Path("/{tenant}/{namespace}/isAllowAutoUpdateSchema") public void getIsAllowAutoUpdateSchema(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setIsAllowAutoUpdateSchema

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

      @GET @Path("/{tenant}/{namespace}/subscriptionTypesEnabled") public void getSubscriptionTypesEnabled(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setSubscriptionTypesEnabled

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

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

      @GET @Path("/{tenant}/{namespace}/schemaValidationEnforced") public void getSchemaValidtionEnforced(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @QueryParam("applied") @DefaultValue("false") boolean applied)
    • setSchemaValidationEnforced

      @POST @Path("/{tenant}/{namespace}/schemaValidationEnforced") public void setSchemaValidationEnforced(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, boolean schemaValidationEnforced)
    • setOffloadPolicies

      @POST @Path("/{tenant}/{namespace}/offloadPolicies") public void setOffloadPolicies(@PathParam("tenant") String tenant, @PathParam("namespace") 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") String tenant, @PathParam("namespace") String namespace, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getOffloadPolicies

      @GET @Path("/{tenant}/{namespace}/offloadPolicies") public void getOffloadPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • getMaxTopicsPerNamespace

      @GET @Path("/{tenant}/{namespace}/maxTopicsPerNamespace") public void getMaxTopicsPerNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setInactiveTopicPolicies

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

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

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

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

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

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

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

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

      @GET @Path("/{tenant}/{namespace}/resourcegroup") public void getNamespaceResourceGroup(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • setNamespaceResourceGroup

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

      @DELETE @Path("/{tenant}/{namespace}/resourcegroup") public void removeNamespaceResourceGroup(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace)
    • scanOffloadedLedgers

      @GET @Path("/{tenant}/{namespace}/scanOffloadedLedgers") public javax.ws.rs.core.Response scanOffloadedLedgers(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace)