This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a25000e Updated site at revision cb4f6ad
a25000e is described below
commit a25000e5058672034a09bcd5a92ae423c50c28cc
Author: jenkins <[email protected]>
AuthorDate: Sun Jun 10 08:28:12 2018 +0000
Updated site at revision cb4f6ad
---
content/api/admin/index-all.html | 8 +
.../org/apache/pulsar/client/admin/Namespaces.html | 145 +++++++---
.../latest/admin-api/persistent-topics/index.html | 2 -
.../docs/latest/functions/deployment/index.html | 72 ++++-
content/docs/latest/functions/overview/index.html | 50 +++-
content/docs/latest/reference/CliTools/index.html | 90 ++++++
content/docs/latest/reference/RestApi/index.html | 322 ++++++++++++++++++++-
content/ja/reference/CliTools/index.html | 90 ++++++
content/ja/reference/RestApi/index.html | 322 ++++++++++++++++++++-
9 files changed, 1052 insertions(+), 49 deletions(-)
diff --git a/content/api/admin/index-all.html b/content/api/admin/index-all.html
index 4890083..3011e9f 100644
--- a/content/api/admin/index-all.html
+++ b/content/api/admin/index-all.html
@@ -733,6 +733,10 @@
<dd>
<div class="block">Get the list of clusters.</div>
</dd>
+<dt><span class="memberNameLink"><a
href="org/apache/pulsar/client/admin/Namespaces.html#getCompactionThreshold-java.lang.String-">getCompactionThreshold(String)</a></span>
- Method in interface org.apache.pulsar.client.admin.<a
href="org/apache/pulsar/client/admin/Namespaces.html" title="interface in
org.apache.pulsar.client.admin">Namespaces</a></dt>
+<dd>
+<div class="block">Get the compactionThreshold for a namespace.</div>
+</dd>
<dt><span class="memberNameLink"><a
href="org/apache/pulsar/common/policies/data/ConsumerStats.html#getConnectedSince--">getConnectedSince()</a></span>
- Method in class org.apache.pulsar.common.policies.data.<a
href="org/apache/pulsar/common/policies/data/ConsumerStats.html" title="class
in org.apache.pulsar.common.policies.data">ConsumerStats</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/pulsar/common/policies/data/PublisherStats.html#getConnectedSince--">getConnectedSince()</a></span>
- Method in class org.apache.pulsar.common.policies.data.<a
href="org/apache/pulsar/common/policies/data/PublisherStats.html" title="class
in org.apache.pulsar.common.policies.data">PublisherStats</a></dt>
@@ -1780,6 +1784,10 @@
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/pulsar/common/policies/data/PublisherStats.html#setClientVersion-java.lang.String-">setClientVersion(String)</a></span>
- Method in class org.apache.pulsar.common.policies.data.<a
href="org/apache/pulsar/common/policies/data/PublisherStats.html" title="class
in org.apache.pulsar.common.policies.data">PublisherStats</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a
href="org/apache/pulsar/client/admin/Namespaces.html#setCompactionThreshold-java.lang.String-long-">setCompactionThreshold(String,
long)</a></span> - Method in interface org.apache.pulsar.client.admin.<a
href="org/apache/pulsar/client/admin/Namespaces.html" title="interface in
org.apache.pulsar.client.admin">Namespaces</a></dt>
+<dd>
+<div class="block">Set the compactionThreshold for a namespace.</div>
+</dd>
<dt><span class="memberNameLink"><a
href="org/apache/pulsar/common/policies/data/ConsumerStats.html#setConnectedSince-java.lang.String-">setConnectedSince(String)</a></span>
- Method in class org.apache.pulsar.common.policies.data.<a
href="org/apache/pulsar/common/policies/data/ConsumerStats.html" title="class
in org.apache.pulsar.common.policies.data">ConsumerStats</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/pulsar/common/policies/data/PublisherStats.html#setConnectedSince-java.lang.String-">setConnectedSince(String)</a></span>
- Method in class org.apache.pulsar.common.policies.data.<a
href="org/apache/pulsar/common/policies/data/PublisherStats.html" title="class
in org.apache.pulsar.common.policies.data">PublisherStats</a></dt>
diff --git a/content/api/admin/org/apache/pulsar/client/admin/Namespaces.html
b/content/api/admin/org/apache/pulsar/client/admin/Namespaces.html
index 93bd764..73a17f8 100644
--- a/content/api/admin/org/apache/pulsar/client/admin/Namespaces.html
+++ b/content/api/admin/org/apache/pulsar/client/admin/Namespaces.html
@@ -17,7 +17,7 @@
catch(err) {
}
//-->
-var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":38,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6};
+var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":38,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -215,103 +215,109 @@ var activeTableTab = "activeTableTab";
</td>
</tr>
<tr id="i14" class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getCompactionThreshold-java.lang.String-">getCompactionThreshold</a></span>(String namespace)</code>
+<div class="block">Get the compactionThreshold for a namespace.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/pulsar/common/policies/data/DispatchRate.html"
title="class in
org.apache.pulsar.common.policies.data">DispatchRate</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getDispatchRate-java.lang.String-">getDispatchRate</a></span>(String namespace)</code>
<div class="block">Get message-dispatch-rate (topics under this namespace can
dispatch this many messages per second)</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getMaxConsumersPerSubscription-java.lang.String-">getMaxConsumersPerSubscription</a></span>(String namespace)</code>
<div class="block">Get the maxConsumersPerSubscription for a namespace.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getMaxConsumersPerTopic-java.lang.String-">getMaxConsumersPerTopic</a></span>(String namespace)</code>
<div class="block">Get the maxProducersPerTopic for a namespace.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getMaxProducersPerTopic-java.lang.String-">getMaxProducersPerTopic</a></span>(String namespace)</code>
<div class="block">Get the maxProducersPerTopic for a namespace.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getNamespaceAntiAffinityGroup-java.lang.String-">getNamespaceAntiAffinityGroup</a></span>(String namespace)</code>
<div class="block">Get anti-affinity group name for a namespace</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getNamespaceMessageTTL-java.lang.String-">getNamespaceMessageTTL</a></span>(String namespace)</code>
<div class="block">Get the message TTL for a namespace.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>List<String></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getNamespaceReplicationClusters-java.lang.String-">getNamespaceReplicationClusters</a></span>(String namespace)</code>
<div class="block">Get the replication clusters for a namespace.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>List<String></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getNamespaces-java.lang.String-">getNamespaces</a></span>(String tenant)</code>
<div class="block">Get the list of namespaces.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>List<String></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getNamespaces-java.lang.String-java.lang.String-">getNamespaces</a></span>(String tenant,
String cluster)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>Map<String,Set<<a
href="../../../../../org/apache/pulsar/common/policies/data/AuthAction.html"
title="enum in
org.apache.pulsar.common.policies.data">AuthAction</a>>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getPermissions-java.lang.String-">getPermissions</a></span>(String namespace)</code>
<div class="block">Get permissions on a namespace.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/pulsar/common/policies/data/PersistencePolicies.html"
title="class in
org.apache.pulsar.common.policies.data">PersistencePolicies</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getPersistence-java.lang.String-">getPersistence</a></span>(String namespace)</code>
<div class="block">Get the persistence configuration for a namespace.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/pulsar/common/policies/data/Policies.html"
title="class in org.apache.pulsar.common.policies.data">Policies</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getPolicies-java.lang.String-">getPolicies</a></span>(String namespace)</code>
<div class="block">Get policies for a namespace.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getReplicationConfigVersion-java.lang.String-">getReplicationConfigVersion</a></span>(String namespace)</code>
<div class="block">Get the replication configuration version for a given
namespace</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/pulsar/common/policies/data/RetentionPolicies.html"
title="class in
org.apache.pulsar.common.policies.data">RetentionPolicies</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getRetention-java.lang.String-">getRetention</a></span>(String namespace)</code>
<div class="block">Get the retention configuration for a namespace.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/pulsar/common/policies/data/DispatchRate.html"
title="class in
org.apache.pulsar.common.policies.data">DispatchRate</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getSubscriptionDispatchRate-java.lang.String-">getSubscriptionDispatchRate</a></span>(String namespace)</code>
<div class="block">Get subscription-message-dispatch-rate (subscriptions under
this namespace can dispatch this many messages per second)</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code>List<String></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#getTopics-java.lang.String-">getTopics</a></span>(String namespace)</code>
<div class="block">Get the list of topics.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#grantPermissionOnNamespace-java.lang.String-java.lang.String-java.util.Set-">grantPermissionOnNamespace</a></span>(String namespace,
String role,
@@ -319,118 +325,125 @@ var activeTableTab = "activeTableTab";
<div class="block">Grant permission on a namespace.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#removeBacklogQuota-java.lang.String-">removeBacklogQuota</a></span>(String namespace)</code>
<div class="block">Remove a backlog quota policy from a namespace.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#revokePermissionsOnNamespace-java.lang.String-java.lang.String-">revokePermissionsOnNamespace</a></span>(String namespace,
String role)</code>
<div class="block">Revoke permissions on a namespace.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setBacklogQuota-java.lang.String-org.apache.pulsar.common.policies.data.BacklogQuota-">setBacklogQuota</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/BacklogQuota.html"
title="class in
org.apache.pulsar.common.policies.data">BacklogQuota</a> backlogQuota)</code>
<div class="block">Set a backlog quota for all the topics on a namespace.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setCompactionThreshold-java.lang.String-long-">setCompactionThreshold</a></span>(String namespace,
+ long compactionThreshold)</code>
+<div class="block">Set the compactionThreshold for a namespace.</div>
+</td>
+</tr>
+<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setDeduplicationStatus-java.lang.String-boolean-">setDeduplicationStatus</a></span>(String namespace,
boolean enableDeduplication)</code>
<div class="block">Set the deduplication status for all topics within a
namespace.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setDispatchRate-java.lang.String-org.apache.pulsar.common.policies.data.DispatchRate-">setDispatchRate</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/DispatchRate.html"
title="class in
org.apache.pulsar.common.policies.data">DispatchRate</a> dispatchRate)</code>
<div class="block">Set message-dispatch-rate (topics under this namespace can
dispatch this many messages per second)</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setEncryptionRequiredStatus-java.lang.String-boolean-">setEncryptionRequiredStatus</a></span>(String namespace,
boolean encryptionRequired)</code>
<div class="block">Set the encryption required status for all topics within a
namespace.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setMaxConsumersPerSubscription-java.lang.String-int-">setMaxConsumersPerSubscription</a></span>(String namespace,
int maxConsumersPerSubscription)</code>
<div class="block">Set maxConsumersPerSubscription for a namespace.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setMaxConsumersPerTopic-java.lang.String-int-">setMaxConsumersPerTopic</a></span>(String namespace,
int maxConsumersPerTopic)</code>
<div class="block">Set maxConsumersPerTopic for a namespace.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setMaxProducersPerTopic-java.lang.String-int-">setMaxProducersPerTopic</a></span>(String namespace,
int maxProducersPerTopic)</code>
<div class="block">Set maxProducersPerTopic for a namespace.</div>
</td>
</tr>
-<tr id="i40" class="altColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setNamespaceAntiAffinityGroup-java.lang.String-java.lang.String-">setNamespaceAntiAffinityGroup</a></span>(String namespace,
String namespaceAntiAffinityGroup)</code>
<div class="block">Set anti-affinity group name for a namespace</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setNamespaceMessageTTL-java.lang.String-int-">setNamespaceMessageTTL</a></span>(String namespace,
int ttlInSeconds)</code>
<div class="block">Set the messages Time to Live for all the topics within a
namespace.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setNamespaceReplicationClusters-java.lang.String-java.util.Set-">setNamespaceReplicationClusters</a></span>(String namespace,
Set<String> clusterIds)</code>
<div class="block">Set the replication clusters for a namespace.</div>
</td>
</tr>
-<tr id="i43" class="rowColor">
+<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setPersistence-java.lang.String-org.apache.pulsar.common.policies.data.PersistencePolicies-">setPersistence</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/PersistencePolicies.html"
title="class in
org.apache.pulsar.common.policies.data">PersistencePolicies</a> persistence)</code>
<div class="block">Set the persistence configuration for all the topics on a
namespace.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
+<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setRetention-java.lang.String-org.apache.pulsar.common.policies.data.RetentionPolicies-">setRetention</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/RetentionPolicies.html"
title="class in
org.apache.pulsar.common.policies.data">RetentionPolicies</a> retention)</code>
<div class="block">Set the retention configuration for all the topics on a
namespace.</div>
</td>
</tr>
-<tr id="i45" class="rowColor">
+<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setSubscriptionAuthMode-java.lang.String-org.apache.pulsar.common.policies.data.SubscriptionAuthMode-">setSubscriptionAuthMode</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/SubscriptionAuthMode.html"
title="enum in
org.apache.pulsar.common.policies.data">SubscriptionAuthMode</a> subscriptionAuthMode)</code>
<div class="block">Set the given subscription auth mode on all topics on a
namespace</div>
</td>
</tr>
-<tr id="i46" class="altColor">
+<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#setSubscriptionDispatchRate-java.lang.String-org.apache.pulsar.common.policies.data.DispatchRate-">setSubscriptionDispatchRate</a></span>(String namespace,
<a
href="../../../../../org/apache/pulsar/common/policies/data/DispatchRate.html"
title="class in
org.apache.pulsar.common.policies.data">DispatchRate</a> dispatchRate)</code>
<div class="block">Set subscription-message-dispatch-rate (subscriptions under
this namespace can dispatch this many messages per second)</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#splitNamespaceBundle-java.lang.String-java.lang.String-boolean-">splitNamespaceBundle</a></span>(String namespace,
String bundle,
@@ -438,27 +451,27 @@ var activeTableTab = "activeTableTab";
<div class="block">Split namespace bundle</div>
</td>
</tr>
-<tr id="i48" class="altColor">
+<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#unload-java.lang.String-">unload</a></span>(String namespace)</code>
<div class="block">Unload a namespace from the current serving broker.</div>
</td>
</tr>
-<tr id="i49" class="rowColor">
+<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#unloadNamespaceBundle-java.lang.String-java.lang.String-">unloadNamespaceBundle</a></span>(String namespace,
String bundle)</code>
<div class="block">Unload namespace bundle</div>
</td>
</tr>
-<tr id="i50" class="altColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#unsubscribeNamespace-java.lang.String-java.lang.String-">unsubscribeNamespace</a></span>(String namespace,
String subscription)</code>
<div class="block">Unsubscribes the given subscription on all topics on a
namespace</div>
</td>
</tr>
-<tr id="i51" class="rowColor">
+<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/pulsar/client/admin/Namespaces.html#unsubscribeNamespaceBundle-java.lang.String-java.lang.String-java.lang.String-">unsubscribeNamespaceBundle</a></span>(String namespace,
String bundle,
@@ -1783,7 +1796,7 @@ List<String> getNamespaces(String tenant,
<a name="setMaxConsumersPerSubscription-java.lang.String-int-">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>setMaxConsumersPerSubscription</h4>
<pre>void setMaxConsumersPerSubscription(String namespace,
@@ -1807,6 +1820,60 @@ List<String> getNamespaces(String tenant,
</dl>
</li>
</ul>
+<a name="getCompactionThreshold-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCompactionThreshold</h4>
+<pre>long getCompactionThreshold(String namespace)
+ throws <a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.html"
title="class in org.apache.pulsar.client.admin">PulsarAdminException</a></pre>
+<div class="block">Get the compactionThreshold for a namespace. The maximum
number of bytes topics in the namespace
+ can have before compaction is triggered. 0 disables.
+ <p>
+ Response example:
+
+ <pre>
+ <code>10000000</code>
+ </pre></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>namespace</code> - Namespace name</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.NotAuthorizedException.html"
title="class in
org.apache.pulsar.client.admin">PulsarAdminException.NotAuthorizedException</a></code>
- Don't have admin permission</dd>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.NotFoundException.html"
title="class in
org.apache.pulsar.client.admin">PulsarAdminException.NotFoundException</a></code>
- Namespace does not exist</dd>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.html"
title="class in org.apache.pulsar.client.admin">PulsarAdminException</a></code>
- Unexpected error</dd>
+</dl>
+</li>
+</ul>
+<a name="setCompactionThreshold-java.lang.String-long-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setCompactionThreshold</h4>
+<pre>void setCompactionThreshold(String namespace,
+ long compactionThreshold)
+ throws <a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.html"
title="class in org.apache.pulsar.client.admin">PulsarAdminException</a></pre>
+<div class="block">Set the compactionThreshold for a namespace. The maximum
number of bytes topics in the namespace
+ can have before compaction is triggered. 0 disables.
+ <p>
+ Request example:
+
+ <pre>
+ <code>10000000</code>
+ </pre></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>namespace</code> - Namespace name</dd>
+<dd><code>compactionThreshold</code> - maximum number of backlog bytes before
compaction is triggered</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.NotAuthorizedException.html"
title="class in
org.apache.pulsar.client.admin">PulsarAdminException.NotAuthorizedException</a></code>
- Don't have admin permission</dd>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.NotFoundException.html"
title="class in
org.apache.pulsar.client.admin">PulsarAdminException.NotFoundException</a></code>
- Namespace does not exist</dd>
+<dd><code><a
href="../../../../../org/apache/pulsar/client/admin/PulsarAdminException.html"
title="class in org.apache.pulsar.client.admin">PulsarAdminException</a></code>
- Unexpected error</dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
</li>
diff --git a/content/docs/latest/admin-api/persistent-topics/index.html
b/content/docs/latest/admin-api/persistent-topics/index.html
index d09f726..110804f 100644
--- a/content/docs/latest/admin-api/persistent-topics/index.html
+++ b/content/docs/latest/admin-api/persistent-topics/index.html
@@ -973,8 +973,6 @@
<h4 id="pulsar-admin-2">pulsar-admin</h4>
-<p>TODO: admin</p>
-
<div class="language-shell highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>pulsar-admin persistent
permissions <span class="se">\</span>
persistent://test-tenant/ns1/tp1 <span class="se">\</span>
diff --git a/content/docs/latest/functions/deployment/index.html
b/content/docs/latest/functions/deployment/index.html
index 95dd25d..756ffee 100644
--- a/content/docs/latest/functions/deployment/index.html
+++ b/content/docs/latest/functions/deployment/index.html
@@ -973,7 +973,7 @@
<tbody>
<tr>
<td style="text-align: left">Function name</td>
- <td style="text-align: left">Whichever value is specified for the class
name. For example, <code class="highlighter-rouge">--className
org.example.MyFunction</code> would give the function a name of <code
class="highlighter-rouge">MyFunction</code></td>
+ <td style="text-align: left">Whichever value is specified for the class
name (minus org, library, etc.). The flag <code
class="highlighter-rouge">--className org.example.MyFunction</code>, for
example, would give the function a name of <code
class="highlighter-rouge">MyFunction</code>.</td>
</tr>
<tr>
<td style="text-align: left">Tenant</td>
@@ -1088,6 +1088,76 @@
<span class="nt">--functionConfigFile</span> <span
class="k">function</span><span class="nt">-config</span>.yaml
</code></pre></div></div>
+<h3 id="resources">Function instance resources</h3>
+
+<p>When you run Pulsar Functions in <a href="#cluster-run">cluster run</a>
mode, you can specify the resources that are assigned to each function <a
href="#parallelism">instance</a>:</p>
+
+<table>
+ <thead>
+ <tr>
+ <th style="text-align: left">Resource</th>
+ <th style="text-align: left">Specified as…</th>
+ <th style="text-align: left">Runtimes</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td style="text-align: left">CPU</td>
+ <td style="text-align: left">The number of cores</td>
+ <td style="text-align: left">Docker (coming soon)</td>
+ </tr>
+ <tr>
+ <td style="text-align: left">RAM</td>
+ <td style="text-align: left">The number of bytes</td>
+ <td style="text-align: left">Process, Docker</td>
+ </tr>
+ <tr>
+ <td style="text-align: left">Disk space</td>
+ <td style="text-align: left">The number of bytes</td>
+ <td style="text-align: left">Docker</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>Here’s an example function creation command that allocates 8 cores, 8 GB of
RAM, and 10 GB of disk space to a function:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>bin/pulsar-admin functions
create <span class="se">\</span>
+ <span class="nt">--jar</span> target/my-functions.jar <span
class="se">\</span>
+ <span class="nt">--className</span> org.example.functions.MyFunction <span
class="se">\</span>
+ <span class="nt">--cpu</span> 8 <span class="se">\</span>
+ <span class="nt">--ram</span> 8589934592 <span class="se">\</span>
+ <span class="nt">--disk</span> 10737418240
+</code></pre></div></div>
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<div class="admonition">
+ <div class="warning">
+ <span class="admonition-title"><p>Resources are <em>per instance</em></p>
+</span>
+ <p>The resources that you apply to a given Pulsar Function are applied to
each <a href="#parallelism">instance</a> of the function. If you apply 8 GB of
RAM to a function with a paralellism of 5, for example, then you are applying
40 GB of RAM total for the function. You should always make sure to factor
paralellism—i.e. the number of instances—into your resource calculations.</p>
+
+ </div>
+</div>
+
<h2 id="triggering">Triggering Pulsar Functions</h2>
<p>If a Pulsar Function is running in <a href="#cluster-mode">cluster
mode</a>, you can <strong>trigger</strong> it at any time using the command
line. Triggering a function means that you send a message with a specific value
to the function and get the function’s output (if any) via the command line.</p>
diff --git a/content/docs/latest/functions/overview/index.html
b/content/docs/latest/functions/overview/index.html
index 687774e..69725dd 100644
--- a/content/docs/latest/functions/overview/index.html
+++ b/content/docs/latest/functions/overview/index.html
@@ -1086,10 +1086,11 @@
<h2 id="api">The Pulsar Functions API</h2>
+<p>The Pulsar Functions API enables you to create processing logic that is:</p>
+
<ul>
- <li>Type safe (bytes versus specific types)</li>
- <li>SerDe (built-in vs. custom)</li>
- <li>Pulsar messages are always just bytes, but Pulsar Functions handles data
types for you <em>unless</em> you need custom types</li>
+ <li>Type safe. Pulsar Functions can process raw bytes or more complex,
application-specific types.</li>
+ <li>Based on SerDe
(<strong>Ser</strong>ialization/<strong>De</strong>serialization). A variety of
types are supported “out of the box” but you can also create your own custom
SerDe logic.</li>
</ul>
<h3 id="context">Function context</h3>
@@ -1227,6 +1228,49 @@
<span class="nt">--parallelism</span> 5
</code></pre></div></div>
+<h3 id="resources">Function instance resources</h3>
+
+<p>When you run Pulsar Functions in <a href="#cluster-run">cluster run</a>
mode, you can specify the resources that are assigned to each function <a
href="#parallelism">instance</a>:</p>
+
+<table>
+ <thead>
+ <tr>
+ <th style="text-align: left">Resource</th>
+ <th style="text-align: left">Specified as…</th>
+ <th style="text-align: left">Runtimes</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td style="text-align: left">CPU</td>
+ <td style="text-align: left">The number of cores</td>
+ <td style="text-align: left">Docker (coming soon)</td>
+ </tr>
+ <tr>
+ <td style="text-align: left">RAM</td>
+ <td style="text-align: left">The number of bytes</td>
+ <td style="text-align: left">Process, Docker</td>
+ </tr>
+ <tr>
+ <td style="text-align: left">Disk space</td>
+ <td style="text-align: left">The number of bytes</td>
+ <td style="text-align: left">Docker</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>Here’s an example function creation command that allocates 8 cores, 8 GB of
RAM, and 10 GB of disk space to a function:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nv">$ </span>bin/pulsar-admin functions
create <span class="se">\</span>
+ <span class="nt">--jar</span> target/my-functions.jar <span
class="se">\</span>
+ <span class="nt">--className</span> org.example.functions.MyFunction <span
class="se">\</span>
+ <span class="nt">--cpu</span> 8 <span class="se">\</span>
+ <span class="nt">--ram</span> 8589934592 <span class="se">\</span>
+ <span class="nt">--disk</span> 10737418240
+</code></pre></div></div>
+
+<p>For more information on resources, see the <a
href="../deployment#resources">Deploying and Managing Pulsar Functions</a>
documentation.</p>
+
<h3 id="logging">Logging</h3>
<p>Pulsar Functions created using the [Pulsar Functions SDK(#sdk) can send
logs to a log topic that you specify as part of the function’s configuration.
The function created using the command below, for example, would produce all
logs on the <code
class="highlighter-rouge">persistent://public/default/my-func-1-log</code>
topic:</p>
diff --git a/content/docs/latest/reference/CliTools/index.html
b/content/docs/latest/reference/CliTools/index.html
index cbb327a..3aa8643 100644
--- a/content/docs/latest/reference/CliTools/index.html
+++ b/content/docs/latest/reference/CliTools/index.html
@@ -4380,6 +4380,51 @@
<td nowrap="">
+ <code class="highlighter-rouge">--cpu</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The CPU to allocate to each function instance (in
number of cores)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--ram</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The RAM to allocate to each function instance (in
bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--disk</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The disk space to allocate to each function
instance (in bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
<code class="highlighter-rouge">--brokerServiceUrl</code>
<!-- for flag in option.flags -->
@@ -4679,6 +4724,51 @@
<td nowrap="">
+ <code class="highlighter-rouge">--cpu</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The CPU to allocate to each function instance (in
number of cores)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--ram</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The RAM to allocate to each function instance (in
bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--disk</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The disk space to allocate to each function
instance (in bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
<code class="highlighter-rouge">--className</code>
<!-- for flag in option.flags -->
diff --git a/content/docs/latest/reference/RestApi/index.html
b/content/docs/latest/reference/RestApi/index.html
index 868432b..625700e 100644
--- a/content/docs/latest/reference/RestApi/index.html
+++ b/content/docs/latest/reference/RestApi/index.html
@@ -1046,6 +1046,10 @@
+ <li><a
href="/admin/namespaces/:property/:cluster/:namespace/compactionThreshold"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:cluster</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></a></li>
+
+
+
<li><a
href="/admin/namespaces/:property/:cluster/:namespace/maxConsumersPerSubscription"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:cluster</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>maxConsumersPerSubscription</code></a></li>
@@ -1066,6 +1070,10 @@
+ <li><a
href="/admin/namespaces/:property/:namespace/compactionThreshold"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></a></li>
+
+
+
<li><a href="/admin/namespaces/:tenant"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:tenant</span></code></a></li>
@@ -4201,7 +4209,7 @@
<h5>
<code class="highlighter-rouge get">GET</code>
</h5>
- <p>Get all namespaces that are grouped by given anti-affinity group
in a given cluster. api can be only accessed by admin of any of the existing
tenant</p>
+ <p>Get all namespaces that are grouped by given anti-affinity group
in a given cluster. api can be only accessed by admin of any of the existing
property</p>
<h5>URL parameters</h5>
<table>
@@ -4230,7 +4238,7 @@
</tr>
<tr>
- <td><code class="highlighter-rouge">tenant</code></td>
+ <td><code class="highlighter-rouge">property</code></td>
<td>query</td>
<td>false</td>
<td>string</td>
@@ -4575,6 +4583,168 @@
+ <div class="card"
id="/admin/namespaces/:property/:cluster/:namespace/compactionThreshold">
+ <div class="card-title">
+ <h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:cluster</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></h5>
+ </div>
+ <div class="card-group">
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge get">GET</code>
+ </h5>
+ <p>Maximum number of uncompacted bytes in topics before compaction
is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">cluster</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>200</td>
+ <td>successful operation</td>
+ </tr>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge put">PUT</code>
+ </h5>
+ <p>Set maximum number of uncompacted bytes in a topic before
compaction is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">cluster</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+
+ <tr>
+ <td>409</td>
+ <td>Concurrent modification</td>
+ </tr>
+
+ <tr>
+ <td>412</td>
+ <td>compactionThreshold value is not valid</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+ <!-- for method in route[1] -->
+ </div>
+ </div>
+
+
+
<div class="card"
id="/admin/namespaces/:property/:cluster/:namespace/maxConsumersPerSubscription">
<div class="card-title">
<h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:cluster</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>maxConsumersPerSubscription</code></h5>
@@ -5292,6 +5462,154 @@
+ <div class="card"
id="/admin/namespaces/:property/:namespace/compactionThreshold">
+ <div class="card-title">
+ <h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></h5>
+ </div>
+ <div class="card-group">
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge get">GET</code>
+ </h5>
+ <p>Maximum number of uncompacted bytes in topics before compaction
is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>200</td>
+ <td>successful operation</td>
+ </tr>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge put">PUT</code>
+ </h5>
+ <p>Set maximum number of uncompacted bytes in a topic before
compaction is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+
+ <tr>
+ <td>409</td>
+ <td>Concurrent modification</td>
+ </tr>
+
+ <tr>
+ <td>412</td>
+ <td>compactionThreshold value is not valid</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+ <!-- for method in route[1] -->
+ </div>
+ </div>
+
+
+
<div class="card" id="/admin/namespaces/:tenant">
<div class="card-title">
<h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:tenant</span></code></h5>
diff --git a/content/ja/reference/CliTools/index.html
b/content/ja/reference/CliTools/index.html
index 45e00ff..3e79df7 100644
--- a/content/ja/reference/CliTools/index.html
+++ b/content/ja/reference/CliTools/index.html
@@ -4156,6 +4156,51 @@
<td nowrap="">
+ <code class="highlighter-rouge">--cpu</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The CPU to allocate to each function instance (in
number of cores)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--ram</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The RAM to allocate to each function instance (in
bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--disk</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The disk space to allocate to each function
instance (in bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
<code class="highlighter-rouge">--brokerServiceUrl</code>
<!-- for flag in option.flags -->
@@ -4455,6 +4500,51 @@
<td nowrap="">
+ <code class="highlighter-rouge">--cpu</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The CPU to allocate to each function instance (in
number of cores)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--ram</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The RAM to allocate to each function instance (in
bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
+ <code class="highlighter-rouge">--disk</code>
+
+ <!-- for flag in option.flags -->
+ </td>
+ <td><p>The disk space to allocate to each function
instance (in bytes)</p>
+</td>
+ <td>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td nowrap="">
+
+
<code class="highlighter-rouge">--className</code>
<!-- for flag in option.flags -->
diff --git a/content/ja/reference/RestApi/index.html
b/content/ja/reference/RestApi/index.html
index 9485acb..e60d2dd 100644
--- a/content/ja/reference/RestApi/index.html
+++ b/content/ja/reference/RestApi/index.html
@@ -832,6 +832,10 @@
+ <li><a
href="/admin/namespaces/:property/:cluster/:namespace/compactionThreshold"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:cluster</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></a></li>
+
+
+
<li><a
href="/admin/namespaces/:property/:cluster/:namespace/maxConsumersPerSubscription"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:cluster</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>maxConsumersPerSubscription</code></a></li>
@@ -852,6 +856,10 @@
+ <li><a
href="/admin/namespaces/:property/:namespace/compactionThreshold"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:property</span><span class="slash">/</span><span
class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></a></li>
+
+
+
<li><a href="/admin/namespaces/:tenant"><code
class="highlighter-rouge"><span class="slash">/</span>admin<span
class="slash">/</span>namespaces<span class="slash">/</span><span
class="endpoint">:tenant</span></code></a></li>
@@ -3987,7 +3995,7 @@
<h5>
<code class="highlighter-rouge get">GET</code>
</h5>
- <p>Get all namespaces that are grouped by given anti-affinity group
in a given cluster. api can be only accessed by admin of any of the existing
tenant</p>
+ <p>Get all namespaces that are grouped by given anti-affinity group
in a given cluster. api can be only accessed by admin of any of the existing
property</p>
<h5>URL parameters</h5>
<table>
@@ -4016,7 +4024,7 @@
</tr>
<tr>
- <td><code class="highlighter-rouge">tenant</code></td>
+ <td><code class="highlighter-rouge">property</code></td>
<td>query</td>
<td>false</td>
<td>string</td>
@@ -4361,6 +4369,168 @@
+ <div class="card"
id="/admin/namespaces/:property/:cluster/:namespace/compactionThreshold">
+ <div class="card-title">
+ <h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:cluster</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></h5>
+ </div>
+ <div class="card-group">
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge get">GET</code>
+ </h5>
+ <p>Maximum number of uncompacted bytes in topics before compaction
is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">cluster</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>200</td>
+ <td>successful operation</td>
+ </tr>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge put">PUT</code>
+ </h5>
+ <p>Set maximum number of uncompacted bytes in a topic before
compaction is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">cluster</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+
+ <tr>
+ <td>409</td>
+ <td>Concurrent modification</td>
+ </tr>
+
+ <tr>
+ <td>412</td>
+ <td>compactionThreshold value is not valid</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+ <!-- for method in route[1] -->
+ </div>
+ </div>
+
+
+
<div class="card"
id="/admin/namespaces/:property/:cluster/:namespace/maxConsumersPerSubscription">
<div class="card-title">
<h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:cluster</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>maxConsumersPerSubscription</code></h5>
@@ -5078,6 +5248,154 @@
+ <div class="card"
id="/admin/namespaces/:property/:namespace/compactionThreshold">
+ <div class="card-title">
+ <h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:property</span><span
class="slash">/</span><span class="endpoint">:namespace</span><span
class="slash">/</span>compactionThreshold</code></h5>
+ </div>
+ <div class="card-group">
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge get">GET</code>
+ </h5>
+ <p>Maximum number of uncompacted bytes in topics before compaction
is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>200</td>
+ <td>successful operation</td>
+ </tr>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+
+ <div class="card">
+ <h5>
+ <code class="highlighter-rouge put">PUT</code>
+ </h5>
+ <p>Set maximum number of uncompacted bytes in a topic before
compaction is triggered.</p>
+
+ <h5>URL parameters</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>In</th>
+ <th>Required</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td><code class="highlighter-rouge">property</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+
+ <tr>
+ <td><code class="highlighter-rouge">namespace</code></td>
+ <td>path</td>
+ <td>true</td>
+ <td>string</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.parameters -->
+
+ <h5>Responses</h5>
+ <table>
+ <thead>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>403</td>
+ <td>Don't have admin permission</td>
+ </tr>
+
+ <tr>
+ <td>404</td>
+ <td>Namespace doesn't exist</td>
+ </tr>
+
+ <tr>
+ <td>409</td>
+ <td>Concurrent modification</td>
+ </tr>
+
+ <tr>
+ <td>412</td>
+ <td>compactionThreshold value is not valid</td>
+ </tr>
+ <!-- for param in parameters -->
+ </tbody>
+ </table>
+ <!-- if method_info.responses -->
+ </div>
+ <!-- for method in route[1] -->
+ </div>
+ </div>
+
+
+
<div class="card" id="/admin/namespaces/:tenant">
<div class="card-title">
<h5 class="swagger-path"><code class="highlighter-rouge"><span
class="slash">/</span>admin<span class="slash">/</span>namespaces<span
class="slash">/</span><span class="endpoint">:tenant</span></code></h5>
--
To stop receiving notification emails like this one, please contact
[email protected].