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 b546c50 [Doc]--Pulsar proxy gateway (#7259)
b546c50 is described below
commit b546c506427e408f28e8981638baab128c302545
Author: HuanliMeng <[email protected]>
AuthorDate: Tue Jun 16 08:59:13 2020 +0800
[Doc]--Pulsar proxy gateway (#7259)
### Motivation
This doc PR is for PIP 28: Pulsar Proxy Gateway Improvement released on
2.4.0.
Doc contents have been approved by the PR:
https://github.com/apache/pulsar/pull/7142
because that PR fails to pass CI tests. So i close that PR and create a new
PR.
### Modifications
add a proxyLogLevel parameter in the proxy config file.
---
site2/docs/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.4.0/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.4.1/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.4.2/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.5.0/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.5.1/reference-configuration.md | 1 +
site2/website/versioned_docs/version-2.5.2/reference-configuration.md | 1 +
7 files changed, 7 insertions(+)
diff --git a/site2/docs/reference-configuration.md
b/site2/docs/reference-configuration.md
index f9642b2..df0731a 100644
--- a/site2/docs/reference-configuration.md
+++ b/site2/docs/reference-configuration.md
@@ -515,6 +515,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:;base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.4.0/reference-configuration.md
b/site2/website/versioned_docs/version-2.4.0/reference-configuration.md
index 382c341..2e805d0 100644
--- a/site2/website/versioned_docs/version-2.4.0/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.4.0/reference-configuration.md
@@ -478,6 +478,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.4.1/reference-configuration.md
b/site2/website/versioned_docs/version-2.4.1/reference-configuration.md
index 8510227..3fac3a0 100644
--- a/site2/website/versioned_docs/version-2.4.1/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.4.1/reference-configuration.md
@@ -478,6 +478,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.4.2/reference-configuration.md
b/site2/website/versioned_docs/version-2.4.2/reference-configuration.md
index f3244de..375b6de 100644
--- a/site2/website/versioned_docs/version-2.4.2/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.4.2/reference-configuration.md
@@ -478,6 +478,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.5.0/reference-configuration.md
b/site2/website/versioned_docs/version-2.5.0/reference-configuration.md
index 70b6069..365aa43 100644
--- a/site2/website/versioned_docs/version-2.5.0/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.5.0/reference-configuration.md
@@ -468,6 +468,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.5.1/reference-configuration.md
b/site2/website/versioned_docs/version-2.5.1/reference-configuration.md
index a29662f..ff4a941 100644
--- a/site2/website/versioned_docs/version-2.5.1/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.5.1/reference-configuration.md
@@ -487,6 +487,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:;base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper
diff --git
a/site2/website/versioned_docs/version-2.5.2/reference-configuration.md
b/site2/website/versioned_docs/version-2.5.2/reference-configuration.md
index d40f82b..a3ea91a 100644
--- a/site2/website/versioned_docs/version-2.5.2/reference-configuration.md
+++ b/site2/website/versioned_docs/version-2.5.2/reference-configuration.md
@@ -487,6 +487,7 @@ The [Pulsar
proxy](concepts-architecture-overview.md#pulsar-proxy) can be config
|tokenPublicKey| Configure the public key to be used to validate auth tokens.
The key can be specified like: `tokenPublicKey=data:base64,xxxxxxxxx` or
`tokenPublicKey=file:///my/secret.key`||
|tokenPublicAlg| Configure the algorithm to be used to validate auth tokens.
This can be any of the asymettric algorithms supported by Java JWT
(https://github.com/jwtk/jjwt#signature-algorithms-keys) |RS256|
|tokenAuthClaim| Specify the token claim that will be used as the
authentication "principal" or "role". The "subject" field will be used if this
is left blank ||
+| proxyLogLevel | Set the Pulsar Proxy log level. <li> If the value is set to
0, no TCP channel information is logged. <li> If the value is set to 1, only
the TCP channel information and command information (without message body) are
parsed and logged. <li> If the value is set to 2, all TCP channel information,
command information, and message body are parsed and logged. | 0 |
## ZooKeeper