title: what data format will be considered fastest to be written on Kafka?
body: <p>WE have various options in Kafka to write data on it,e.g: String format, Byte Array.
  What data foramt is considered to be fastest while writing on Kafka.</p>
  
  <p>Moreover do kafka provide any utility to compress whole data once and then write on it.</p>
  
  <p>Also need to consider while consuming the same message we will be de-compressing it, so reading data cost will increase.</p>