You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/06 18:14:43 UTC

[GitHub] [pulsar] jerrypeng commented on a change in pull request #7449: Allow function rebalance to be run periodically

jerrypeng commented on a change in pull request #7449:
URL: https://github.com/apache/pulsar/pull/7449#discussion_r450398075



##########
File path: conf/functions_worker.yml
##########
@@ -93,6 +93,8 @@ schedulerClassName: "org.apache.pulsar.functions.worker.scheduler.RoundRobinSche
 functionAssignmentTopicName: "assignments"
 failureCheckFreqMs: 30000
 rescheduleTimeoutMs: 60000
+# frequency at which to check if cluster needs rebalancing (15min default interval)
+rebalanceCheckFreqSec: 900

Review comment:
       Set it 1 hour.  Is there any harm to enable by default?

##########
File path: conf/functions_worker.yml
##########
@@ -93,6 +93,8 @@ schedulerClassName: "org.apache.pulsar.functions.worker.scheduler.RoundRobinSche
 functionAssignmentTopicName: "assignments"
 failureCheckFreqMs: 30000
 rescheduleTimeoutMs: 60000
+# frequency at which to check if cluster needs rebalancing (15min default interval)
+rebalanceCheckFreqSec: 900

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




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org