You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2021/08/30 22:13:21 UTC
[pulsar] branch master updated: Remove unnecessary spaces from conf
files (#11818)
This is an automated email from the ASF dual-hosted git repository.
lhotari 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 5487bbf Remove unnecessary spaces from conf files (#11818)
5487bbf is described below
commit 5487bbf19c1791ba400a5e7db935a596a0dfe7ec
Author: Masahiro Sakamoto <ma...@yahoo-corp.jp>
AuthorDate: Tue Aug 31 07:09:56 2021 +0900
Remove unnecessary spaces from conf files (#11818)
---
conf/bookkeeper.conf | 8 ++++----
conf/broker.conf | 2 +-
conf/discovery.conf | 2 +-
conf/global_zookeeper.conf | 6 +++---
conf/log4j2-scripts/filter.js | 4 ++--
conf/presto/catalog/pulsar.properties | 2 +-
conf/standalone.conf | 2 +-
conf/websocket.conf | 2 +-
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf
index 717b156..60ac8e1 100644
--- a/conf/bookkeeper.conf
+++ b/conf/bookkeeper.conf
@@ -96,12 +96,12 @@ flushInterval=60000
# Defaults to false.
useHostNameAsBookieID=false
-# If you want to custom bookie ID or use a dynamic network address for the bookie,
-# you can set this option.
-# Bookie advertises itself using bookieId rather than
+# If you want to custom bookie ID or use a dynamic network address for the bookie,
+# you can set this option.
+# Bookie advertises itself using bookieId rather than
# BookieSocketAddress (hostname:port or IP:port).
# bookieId is a non empty string that can contain ASCII digits and letters ([a-zA-Z9-0]),
-# colons, dashes, and dots.
+# colons, dashes, and dots.
# For more information about bookieId, see http://bookkeeper.apache.org/bps/BP-41-bookieid/.
# bookieId=
diff --git a/conf/broker.conf b/conf/broker.conf
index 404d8d7..bb6344f 100644
--- a/conf/broker.conf
+++ b/conf/broker.conf
@@ -500,7 +500,7 @@ maxMessagePublishBufferSizeInMB=
# Use 0 or negative number to disable the check
retentionCheckIntervalInSeconds=120
-# Control the frequency of checking the max message size in the topic policy.
+# Control the frequency of checking the max message size in the topic policy.
# The default interval is 60 seconds.
maxMessageSizeCheckIntervalInSeconds=60
diff --git a/conf/discovery.conf b/conf/discovery.conf
index 2cb5cc4..76eb093 100644
--- a/conf/discovery.conf
+++ b/conf/discovery.conf
@@ -81,7 +81,7 @@ tlsKeyFilePath=
# Reject the Connection if the Client Certificate is not trusted.
tlsRequireTrustedClientCertOnConnect=false
-# Tls cert refresh duration in seconds (set 0 to check on every new connection)
+# Tls cert refresh duration in seconds (set 0 to check on every new connection)
tlsCertRefreshCheckDurationSec=300
### --- Deprecated config variables --- ###
diff --git a/conf/global_zookeeper.conf b/conf/global_zookeeper.conf
index 816b3d4..96d5a5f 100644
--- a/conf/global_zookeeper.conf
+++ b/conf/global_zookeeper.conf
@@ -19,10 +19,10 @@
# The number of milliseconds of each tick
tickTime=2000
-# The number of ticks that the initial
+# The number of ticks that the initial
# synchronization phase can take
initLimit=10
-# The number of ticks that can pass between
+# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
@@ -38,7 +38,7 @@ admin.serverPort=9991
# increase this if you need to handle more clients
#maxClientCnxns=60
#
-# Be sure to read the maintenance section of the
+# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
diff --git a/conf/log4j2-scripts/filter.js b/conf/log4j2-scripts/filter.js
index ad3b491..5d1bcb1 100644
--- a/conf/log4j2-scripts/filter.js
+++ b/conf/log4j2-scripts/filter.js
@@ -20,12 +20,12 @@
var result = false;
var topicName = "pulsar-topic-name";
/*
- * Find more logEvent attributes at :
+ * Find more logEvent attributes at :
* https://github.com/apache/logging-log4j2/blob/dbd2d252a1b4139a9bd9eb213c89f28498db6dcf/log4j-core/src/main/java/org/apache/logging/log4j/core/LogEvent.java
*/
if (logEvent.getLevel() == "DEBUG"){
if(logEvent.getMessage().getFormattedMessage().indexOf(topicName)!=-1) {
- result = true;
+ result = true;
}
} else {
result = true;
diff --git a/conf/presto/catalog/pulsar.properties b/conf/presto/catalog/pulsar.properties
index 5248678..1f5a89a 100644
--- a/conf/presto/catalog/pulsar.properties
+++ b/conf/presto/catalog/pulsar.properties
@@ -21,7 +21,7 @@
connector.name=pulsar
# the url of Pulsar broker service
# DEPRECATED
-pulsar.broker-service-url=http://localhost:8080
+pulsar.broker-service-url=http://localhost:8080
# the url of Pulsar broker web service
pulsar.web-service-url=http://localhost:8080
# URI of Zookeeper cluster
diff --git a/conf/standalone.conf b/conf/standalone.conf
index 2ef53d6..aff1df4 100644
--- a/conf/standalone.conf
+++ b/conf/standalone.conf
@@ -600,7 +600,7 @@ managedLedgerDefaultAckQuorum=1
# How frequently to flush the cursor positions that were accumulated due to rate limiting. (seconds).
# Default is 60 seconds
-managedLedgerCursorPositionFlushSeconds = 60
+managedLedgerCursorPositionFlushSeconds=60
# Default type of checksum to use when writing to BookKeeper. Default is "CRC32C"
# Other possible options are "CRC32", "MAC" or "DUMMY" (no checksum).
diff --git a/conf/websocket.conf b/conf/websocket.conf
index e6d374d..814e587 100644
--- a/conf/websocket.conf
+++ b/conf/websocket.conf
@@ -116,7 +116,7 @@ tlsTrustCertsFilePath=
# Reject the Connection if the Client Certificate is not trusted.
tlsRequireTrustedClientCertOnConnect=false
-# Tls cert refresh duration in seconds (set 0 to check on every new connection)
+# Tls cert refresh duration in seconds (set 0 to check on every new connection)
tlsCertRefreshCheckDurationSec=300
### --- Deprecated config variables --- ###