Hi Ismael, 1. I'm fine dropping "Space" from the field name, I think the names are clear enough, I've updated the KIP. 2. These values are properties of the volume each log directory is into. If you have multiple log directories in the same volume, they will both return the usable and total size of that volume. I'm not sure if it's something many people do but I've clarified the sizes are from the underlying volumes in the KIP.
Thanks, Mickael On Tue, May 17, 2022 at 5:46 PM Ismael Juma <ism...@juma.me.uk> wrote: > > Hi Mickael, > > Thanks for the KIP. Two questions: > > 1. Is `space` redundant? is `totalBytes` and `usableBytes` a more concise > description of the same thing? > 2. Is usable space a property of the log directory? What if you have > multiple log directories in the same underlying OS partition? > > Ismael > > On Thu, Apr 7, 2022 at 2:17 AM Mickael Maison <mickael.mai...@gmail.com> > wrote: > > > Hi, > > > > I wrote a small KIP to expose the total and usable space of logdirs > > via the DescribeLogDirs API: > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-827%3A+Expose+logdirs+total+and+usable+space+via+Kafka+API > > > > Please take a look and let me know if you have any feedback. > > > > Thanks, > > Mickael > >