Skip to content

Add client config override#294

Merged
tisonkun merged 2 commits intoapache:mainfrom
momo-jun:config-override
Nov 18, 2022
Merged

Add client config override#294
tisonkun merged 2 commits intoapache:mainfrom
momo-jun:config-override

Conversation

@momo-jun
Copy link
Contributor

@momo-jun momo-jun commented Nov 16, 2022

Fixes apache/pulsar#18490

  1. Add back the configuration override information introduced in Configure DLog Bookie, Pulsar, and Admin clients via pass through config pulsar#15818 but missed on the new Pulsar config site.
  2. Add an introductory paragraph in the parent config topic.

The preview looks good:

image

image

@momo-jun momo-jun marked this pull request as ready for review November 18, 2022 03:40
@momo-jun momo-jun self-assigned this Nov 18, 2022
Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change. Comment inline.

Comment on lines 7 to 15
- [BookKeeper](/next/config/reference-configuration-bookkeeper/)
- [Broker](/next/config/reference-configuration-broker/)
- [Client](/next/config/reference-configuration-client/)
- [Log4j](/next/config/reference-configuration-log4j/)
- [Log4j shell](/next/config/reference-configuration-log4j-shell/)
- [Standalone](/next/config/reference-configuration-standalone/)
- [WebSocket](/next/config/reference-configuration-websocket/)
- [Pulsar proxy](/next/config/reference-configuration-pulsar-proxy/)
- [ZooKeeper](/next/config/reference-configuration-zookeeper/)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [BookKeeper](/next/config/reference-configuration-bookkeeper/)
- [Broker](/next/config/reference-configuration-broker/)
- [Client](/next/config/reference-configuration-client/)
- [Log4j](/next/config/reference-configuration-log4j/)
- [Log4j shell](/next/config/reference-configuration-log4j-shell/)
- [Standalone](/next/config/reference-configuration-standalone/)
- [WebSocket](/next/config/reference-configuration-websocket/)
- [Pulsar proxy](/next/config/reference-configuration-pulsar-proxy/)
- [ZooKeeper](/next/config/reference-configuration-zookeeper/)
- [BookKeeper](/next/config/reference-configuration-bookkeeper)
- [Broker](/next/config/reference-configuration-broker)
- [Client](/next/config/reference-configuration-client)
- [Log4j](/next/config/reference-configuration-log4j)
- [Log4j shell](/next/config/reference-configuration-log4j-shell)
- [Standalone](/next/config/reference-configuration-standalone)
- [WebSocket](/next/config/reference-configuration-websocket)
- [Pulsar proxy](/next/config/reference-configuration-pulsar-proxy)
- [ZooKeeper](/next/config/reference-configuration-zookeeper)

With a trailing slash, the preview failed.

Also, I'm trying to avoid /next/config prefix.

Comment on lines 21 to 24
|Prefix|Description|
|---|---|
|brokerClient_| Configure **all** the Pulsar Clients and Pulsar Admin Clients of brokers, websockets, and proxies. These configurations are applied after hard-coded configurations and before the client configurations named in this site.|
|bookkeeper_| Configure the broker's BookKeeper clients used by managed ledgers and the BookkeeperPackagesStorage bookkeeper client. Takes precedence over most other configuration values.|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|Prefix|Description|
|---|---|
|brokerClient_| Configure **all** the Pulsar Clients and Pulsar Admin Clients of brokers, websockets, and proxies. These configurations are applied after hard-coded configurations and before the client configurations named in this site.|
|bookkeeper_| Configure the broker's BookKeeper clients used by managed ledgers and the BookkeeperPackagesStorage bookkeeper client. Takes precedence over most other configuration values.|
| Prefix | Description |
|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| brokerClient_ | Configure **all** the Pulsar Clients and Pulsar Admin Clients of brokers, websockets, and proxies. These configurations are applied after hard-coded configurations and before the client configurations named in this site. |
| bookkeeper_ | Configure the broker's BookKeeper clients used by managed ledgers and the BookkeeperPackagesStorage bookkeeper client. Takes precedence over most other configuration values.

Reformat. This is not required.

@momo-jun
Copy link
Contributor Author

Thanks, @tisonkun. Comments have been addressed.

Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Merging...

@tisonkun tisonkun merged commit 276b5ca into apache:main Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc] Add the missing configuration override information

3 participants