Skip to content

Conversation

@jerrypeng
Copy link
Contributor

@jerrypeng jerrypeng commented Jul 4, 2020

Motivation

After a rebalance mechanism was implement for pulsar functions in:

#7388

it is only natural to add the functionality for the rebalance to be triggered periodically.

Modifications

Allow rebalance to be triggered on a user defined frequency

@jerrypeng jerrypeng added this to the 2.7.0 milestone Jul 4, 2020
@jerrypeng jerrypeng requested a review from srkukarni July 4, 2020 02:21
@jerrypeng jerrypeng self-assigned this Jul 4, 2020
@jerrypeng jerrypeng requested review from merlimat and sijie July 4, 2020 02:21
failureCheckFreqMs: 30000
rescheduleTimeoutMs: 60000
# frequency at which to check if cluster needs rebalancing (15min default interval)
rebalanceCheckFreqSec: 900
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to turn it on by default? Also is 15 min too frequent

Copy link
Contributor Author

@jerrypeng jerrypeng Jul 6, 2020

Choose a reason for hiding this comment

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

Set it 1 hour? Is there any harm to enable by default?

@wolfstudy
Copy link
Member

@jerrypeng can we update the Motivation and Modifications?

@jerrypeng jerrypeng requested a review from srkukarni July 6, 2020 18:19
@jerrypeng jerrypeng merged commit 304685b into apache:master Jul 7, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Co-authored-by: Jerry Peng <jerryp@splunk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants