lordcheng10 commented on pull request #13609: URL: https://github.com/apache/pulsar/pull/13609#issuecomment-1009892219
> > If scheduleWithFixedDelay is used, data may not be reported for a certain minute over time. Will there be a breakpoint? For example: > > 00:1:00 - 00:1:59 Execute tasks 00:2:00 - 00:2:59 The scheduler waits 00:3:00 - ... do the next mission > > The data for the second minute will not be reported > > This is only for calculating resource usage. The real reporting period is 5 seconds, so I can't understand: “The data for the second minute will not be reported”. @315157973 > > https://github.com/apache/pulsar/blob/1a3688c936bb2320db34ccfbef08500f2c522591/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/LoadManagerShared.java#L78-L80 > > > https://github.com/apache/pulsar/blob/1a3688c936bb2320db34ccfbef08500f2c522591/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L1032-L1045 PTAL,thanks! @315157973 -- 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]
