You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/01 06:55:35 UTC
[GitHub] [pulsar] Jennifer88huang opened a new pull request #9395: [docs] Add default TTL value
Jennifer88huang opened a new pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395
### Motivation
It's not clear to users whether setting `ttlDurationDefaultInSeconds=0` means disabling TTL.
### Modifications
Make the default setting and values much clearer
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567599497
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds| The default TTL for namespaces if TTL is not configured at namespace policies. TTL(time to live) is disabled by default and the value is set to `0`. |0|
Review comment:
@sijie you're so fast, I've just updated it to be more clear. Please check the [latest version above](https://github.com/apache/pulsar/pull/9395/commits/4e04618586577841c1dd258b35d0ffa1182712cf)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Huanli-Meng commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567806299
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds|The default TTL(time to live) for namespaces if TTL is not configured at namespace policies. When the value is set to `0`, TTL is disabled. It is disabled by default. |0|
Review comment:
```suggestion
|ttlDurationDefaultInSeconds|The default Time to Live (TTL) for namespaces if the TTL is not configured at namespace policies. When the value is set to `0`, TTL is disabled. By default, TTL is disabled. |0|
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771455216
Confirmed with eng, the default value for `set-message-ttl` and `ttlDurationDefaultInSeconds` is `0`. Update the default value and description for different versions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] sijie commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
sijie commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567598310
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds| The default TTL for namespaces if TTL is not configured at namespace policies. TTL(time to live) is disabled by default and the value is set to `0`. |0|
Review comment:
@Jennifer88huang should we call out that setting it to `0` is disabling TTL and the default value is `0`.
Also, shall we update the documentation of other releases?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771455216
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771456408
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567600020
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds| The default TTL for namespaces if TTL is not configured at namespace policies. TTL(time to live) is disabled by default and the value is set to `0`. |0|
Review comment:
Yes, we will apply changes to other versions if it should.
Usually, we update in the master and finalize the change first, and then apply the final version content to other versions. Thank you for your reminder.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567850096
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds|The default TTL(time to live) for namespaces if TTL is not configured at namespace policies. When the value is set to `0`, TTL is disabled. It is disabled by default. |0|
Review comment:
@Huanli-Meng Thank you for your suggestion, updated, PTAL again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Anonymitaet commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771259051
> > Need to update the [admin doc](http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/#-em-set-message-ttl-em-) as well?
>
> Thanks for your reminder. Is this written manually or generated automatically?
Descriptions are added manually.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Anonymitaet commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771259051
> > Need to update the [admin doc](http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/#-em-set-message-ttl-em-) as well?
>
> Thanks for your reminder. Is this written manually or generated automatically?
Descriptions are added manually.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-770882985
> Need to update the [admin doc](http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/#-em-set-message-ttl-em-) as well?
Thanks for your reminder. Is this written manually or generated automatically?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on a change in pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on a change in pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#discussion_r567599497
##########
File path: site2/docs/reference-configuration.md
##########
@@ -215,7 +215,7 @@ internalListenerName|Specify the internal listener name for the broker.<br><br>*
|brokerClientTlsTrustStorePassword| TLS TrustStore password for internal client, used by the internal client to authenticate with Pulsar brokers ||
|brokerClientTlsCiphers| Specify the tls cipher the internal client will use to negotiate during TLS Handshake. (a comma-separated list of ciphers) e.g. [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]||
|brokerClientTlsProtocols|Specify the tls protocols the broker will use to negotiate during TLS handshake. (a comma-separated list of protocol names). e.g. [TLSv1.2, TLSv1.1, TLSv1] ||
-|ttlDurationDefaultInSeconds| The default ttl for namespaces if ttl is not configured at namespace policies. |0|
+|ttlDurationDefaultInSeconds| The default TTL for namespaces if TTL is not configured at namespace policies. TTL(time to live) is disabled by default and the value is set to `0`. |0|
Review comment:
@sijie you're so fast, I've just updated it to be more clear. Please check the [latest update above](https://github.com/apache/pulsar/pull/9395/commits/4e04618586577841c1dd258b35d0ffa1182712cf)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Anonymitaet commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-770630722
Need to update the [admin doc](http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/#-em-set-message-ttl-em-) as well?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] sijie merged pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
sijie merged pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Jennifer88huang commented on pull request #9395: [docs] Add default TTL value
Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on pull request #9395:
URL: https://github.com/apache/pulsar/pull/9395#issuecomment-771458016
@sijie @codelipenghui PTAL again, thank you.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org