ShannonDing opened a new issue, #861:
URL: https://github.com/apache/rocketmq-client-go/issues/861
after rebalance, PullThresholdSizeForTopic is not set to new value.
```
if count > 0 {
if pc.option.PullThresholdForTopic != -1 {
newVal := pc.option.PullThresholdForTopic / count
if newVal == 0 {
newVal = 1
}
rlog.Info("The PullThresholdForTopic is changed",
map[string]interface{}{
rlog.LogKeyValueChangedFrom:
pc.option.PullThresholdForTopic,
rlog.LogKeyValueChangedTo: newVal,
})
pc.option.PullThresholdForTopic = newVal
}
if pc.option.PullThresholdSizeForTopic != -1 {
newVal := pc.option.PullThresholdSizeForTopic / count
if newVal == 0 {
newVal = 1
}
rlog.Info("The PullThresholdSizeForTopic is changed",
map[string]interface{}{
rlog.LogKeyValueChangedFrom:
pc.option.PullThresholdSizeForTopic,
rlog.LogKeyValueChangedTo: newVal,
})
}
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]