This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ffee4c  Add advertisedAddress and subscriptionExpirationTimeMinutes 
conf for broker and proxy
8ffee4c is described below

commit 8ffee4cce21841a1f833ab18f3de52c9d9ea3778
Author: Yu Liu <50226895+anonymit...@users.noreply.github.com>
AuthorDate: Wed May 27 15:57:09 2020 +0800

    Add advertisedAddress and subscriptionExpirationTimeMinutes conf for broker 
and proxy
    
    Add advertisedAddress and subscriptionExpirationTimeMinutes conf for broker 
and proxy
---
 site2/docs/administration-proxy.md    | 1 +
 site2/docs/reference-configuration.md | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/site2/docs/administration-proxy.md 
b/site2/docs/administration-proxy.md
index 8367958..f4497d5 100644
--- a/site2/docs/administration-proxy.md
+++ b/site2/docs/administration-proxy.md
@@ -83,6 +83,7 @@ You can configure the Pulsar proxy using the 
[`proxy.conf`](reference-configurat
 |servicePort| The port to use for server binary Protobuf requests |6650|
 |servicePortTls|  The port to use to server binary Protobuf TLS requests  
|6651|
 |statusFilePath | Path for the file used to determine the rotation status for 
the proxy instance when responding to service discovery health checks ||
+|advertisedAddress|Hostname or IP address the service advertises to the 
outside world.|`InetAddress.getLocalHost().getHostname()`|
 |authenticationEnabled| Whether authentication is enabled for the Pulsar proxy 
 |false|
 |authenticateMetricsEndpoint| Whether the '/metrics' endpoint requires 
authentication. Defaults to true. 'authenticationEnabled' must also be set for 
this to take effect. |true|
 |authenticationProviders| Authentication provider name list (a comma-separated 
list of class names) ||
diff --git a/site2/docs/reference-configuration.md 
b/site2/docs/reference-configuration.md
index 893ea0c..9723438 100644
--- a/site2/docs/reference-configuration.md
+++ b/site2/docs/reference-configuration.md
@@ -175,6 +175,7 @@ Pulsar brokers are responsible for handling incoming 
messages from producers, di
 |maxUnackedMessagesPerConsumer| Max number of unacknowledged messages allowed 
to receive messages by a consumer on a shared subscription. Broker will stop 
sending messages to consumer once, this limit reaches until consumer starts 
acknowledging messages back. Using a value of 0, is disabling unackeMessage 
limit check and consumer can receive messages without any restriction  |50000|
 |maxUnackedMessagesPerSubscription| Max number of unacknowledged messages 
allowed per shared subscription. Broker will stop dispatching messages to all 
consumers of the subscription once this limit reaches until consumer starts 
acknowledging messages back and unack count reaches to limit/2. Using a value 
of 0, is disabling unackedMessage-limit check and dispatcher can dispatch 
messages without any restriction  |200000|
 |subscriptionRedeliveryTrackerEnabled| Enable subscription message redelivery 
tracker |true|
+subscriptionExpirationTimeMinutes | How long to delete inactive subscriptions 
from last consuming. <br/><br/>Setting this configuration to a value **greater 
than 0** deletes inactive subscriptions automatically.<br/>Setting this 
configuration to **0** does not delete inactive subscriptions automatically. 
<br/><br/> Since this configuration takes effect on all topics, if there is 
even one topic whose subscriptions should not be deleted automatically, you 
need to set it to 0. <br/>Instead, [...]
 |maxConcurrentLookupRequest|  Max number of concurrent lookup request broker 
allows to throttle heavy incoming lookup traffic |50000|
 |maxConcurrentTopicLoadRequest| Max number of concurrent topic loading request 
broker allows to control number of zk-operations |5000|
 |authenticationEnabled| Enable authentication |false|
@@ -480,6 +481,7 @@ The [Pulsar 
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
 |servicePort| The port to use for server binary Protobuf requests |6650|
 |servicePortTls|  The port to use to server binary Protobuf TLS requests  
|6651|
 |statusFilePath|  Path for the file used to determine the rotation status for 
the proxy instance when responding to service discovery health checks ||
+|advertisedAddress|Hostname or IP address the service advertises to the 
outside world.|`InetAddress.getLocalHost().getHostname()`|
 |authenticationEnabled| Whether authentication is enabled for the Pulsar proxy 
 |false|
 |authenticateMetricsEndpoint| Whether the '/metrics' endpoint requires 
authentication. Defaults to true. 'authenticationEnabled' must also be set for 
this to take effect. |true|
 |authenticationProviders| Authentication provider name list (a comma-separated 
list of class names) ||

Reply via email to