Skip to content

Conversation

@momo-jun
Copy link
Contributor

@momo-jun momo-jun commented Jan 14, 2022

  1. PR#12403: restructure and optimize content for message chunking.
    image
    image
    image

  2. PR#13108: add description for how to disable threshold check for parameter “loadBalancerNamespaceBundleMaxSessions”.
    image

  3. PR#13043: add 4 new parameters for both Broker and Standalone; add a paragraph for configuring ZK batching operations and benchmark results in the ZK admin topic.
    image
    image

  4. Bug fix: remove the duplicate parameter “maxNumPartitionsPerPartitionedTopic” from the Standalone section of the Pulsar Configuration topic.
    Original content: https://pulsar.apache.org/docs/en/next/reference-configuration/#standalone

  5. Bug fix: fix the missing parameter table for global ZK (configuration store) and incomplete parameter table for local ZK by referencing the one in ZK section of the Pulsar Configuration topic.
    Original content: https://pulsar.apache.org/docs/en/next/administration-zk-bk/#configuration-store
    image

  • doc

@github-actions
Copy link

@momo-jun:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@Anonymitaet Anonymitaet added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. and removed doc-label-missing labels Jan 14, 2022
@Anonymitaet Anonymitaet added this to the 2.10.0 milestone Jan 14, 2022
@Anonymitaet
Copy link
Member

@momo-jun before submitting this PR, did you preview the changes in your local environment? If so, can you add some screenshots of the preview in the PR description? So that reviewers can understand the changes quickly and clearly, thanks

@momo-jun
Copy link
Contributor Author

@momo-jun before submitting this PR, did you preview the changes in your local environment? If so, can you add some screenshots of the preview in the PR description? So that reviewers can understand the changes quickly and clearly, thanks

Thanks Yu. I've attached the screenshots of detailed changes, and added the links of each PR.

@Anonymitaet
Copy link
Member

Anonymitaet commented Jan 17, 2022

@momo-jun

  1. as we discussed just now, for PIP-45: Allow to configure metadata store URL in broker.conf #13077, we need to add explanations for "backend services (Rocksdb and Etcd)"

    References: PIP-45: Allow to configure metadata store URL in broker.conf #13077 and search "rocksdb" in the PR page and find related info, e.g. https://github.com/apache/pulsar/pulls?q=rocksdb

  2. can you modify the PR title? It should be the summary of your PR changes, thanks

  3. can you @ related engineers to review this PR? (for example, @RobertIndie could you please review this PR? Thanks)

|loadBalancerNamespaceMaximumBundles| maximum number of bundles in a namespace |128|
|loadBalancerAutoBundleSplitEnabled| Enable/disable namespace bundle auto split |false|
|loadBalancerNamespaceBundleMaxTopics| Maximum topics in a bundle, otherwise bundle split will be triggered |1000|
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br>To disable the threshold check, set the value to -1. |1000|
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
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br>To disable the threshold check, set the value to -1. |1000|
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br />To disable the threshold check, set the value to -1. |1000|

instructions: https://docs.google.com/document/d/1IV35SI_F8G8cL-Vuzknc6RTGLK9_edRMpZpnrHvAWNs/edit#bookmark=id.wcmnciyvvq6p

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Yu. Will update.

| loadBalancerAutoUnloadSplitBundlesEnabled | Enable/Disable automatic unloading of split bundles. | true |
|loadBalancerNamespaceBundleMaxTopics| |1000|
|loadBalancerNamespaceBundleMaxSessions| |1000|
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br>To disable the threshold check, set the value to -1. |1000|
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
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br>To disable the threshold check, set the value to -1. |1000|
|loadBalancerNamespaceBundleMaxSessions| Maximum sessions (producers + consumers) in a bundle, otherwise bundle split will be triggered. <br />To disable the threshold check, set the value to -1. |1000|

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Yu. Will update.

@momo-jun momo-jun changed the title [Docs] Doc updates for PR#12403, PR#13108 and PR#13043 [Doc] Add 4 metadatastore parameters and a section for ZK batching operations; Improve content for chunking; Bug fixes and more Jan 18, 2022
@momo-jun
Copy link
Contributor Author

momo-jun commented Jan 18, 2022

Hi guys @RobertIndie @codelipenghui @rdhabalia @merlimat , can you please review this PR for doc udpates? Thanks.

@momo-jun
Copy link
Contributor Author

@momo-jun

  1. as we discussed just now, for PIP-45: Allow to configure metadata store URL in broker.conf #13077, we need to add explanations for "backend services (Rocksdb and Etcd)"
    References: PIP-45: Allow to configure metadata store URL in broker.conf #13077 and search "rocksdb" in the PR page and find related info, e.g. https://github.com/apache/pulsar/pulls?q=rocksdb
  2. can you modify the PR title? It should be the summary of your PR changes, thanks
  3. can you @ related engineers to review this PR? (for example, @RobertIndie could you please review this PR? Thanks)

Thanks Yu. I've modified the title and invited reviewers. For item1, I will open a new PR.

Copy link
Member

@RobertIndie RobertIndie left a comment

Choose a reason for hiding this comment

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

@momo-jun Thanks for your PR!
It looks good to me for the chunked message part.
But this PR involves too many parts of changes. It would be better to split this big PR into multiple PRs. I suggest that the next time you submit a PR, you could make one PR do only one thing.

@momo-jun
Copy link
Contributor Author

@momo-jun Thanks for your PR! It looks good to me for the chunked message part. But this PR involves too many parts of changes. It would be better to split this big PR into multiple PRs. I suggest that the next time you submit a PR, you could make one PR do only one thing.

Thanks for your suggestion. I will definitely do that next time. :)

1. PR#12403: restructure and optimize content for message chunking.
2. PR#13108: add description for how to disable threshold check for parameter “loadBalancerNamespaceBundleMaxSessions”.
3. PR#13043: add 4 new parameters for both Broker and Standalone; add a paragraph for configuring ZK batching operations and benchmark results in the ZK admin topic.
4. Bug fix: remove the duplicate parameter “maxNumPartitionsPerPartitionedTopic” from the Standalone section of the Pulsar Configuration topic.
5. Bug fix: fix the missing parameter table for global ZK (configuration store) and incomplete parameter table for local ZK by referencing the one in ZK section of the Pulsar Configuration topic.
@Anonymitaet Anonymitaet merged commit a65c887 into apache:master Feb 1, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
…erations; Improve content for chunking; Bug fixes and more (apache#13751)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants