title: How is size of record size set for each record in kafka partition?
body: <p>I want to know if each record within a kafka topic occupies same size irrespective actual size of the message?</p>
  
  <p>I am aware of the following property -> <code>max.message.bytes=1000012</code>, this will make size of a record upto <code>1000012</code> bytes.</p>
  
  <p>My question is if incoming record is less than these bytes , what will be the actual size of the space which is set aside for it?</p>