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 2022/04/25 18:47:19 UTC

[GitHub] [pulsar] michaeljmarshall commented on issue #15313: Broker LoadBalance uneffective because broker ResourceUsage is always 0

michaeljmarshall commented on issue #15313:
URL: https://github.com/apache/pulsar/issues/15313#issuecomment-1108917850

   > The reason is zk json data deserialize to pojo `org.apache.pulsar.policies.data.loadbalancer.ResourceUsage` will not use constructor `ResourceUsage(double usage, double limit)`, so that percentUsage is always 0
   
   @fu-turer - can you clarify where this deserialization happens? I took a quick look, but I couldn't find it.


-- 
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: commits-unsubscribe@pulsar.apache.org

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