public static int GetHeaderSize(string topic)
 {
     return(ApiUtils.ShortStringLength(topic) + 4 /* partition count */);
 }