encodeTopics = ({ topic, partitions }) => {
  return new Encoder()
    .writeUVarIntString(topic)
    .writeUVarIntArray(partitions.map(encodePartitions))
    .writeUVarIntBytes()
}
ListPartitionReassignments Request (Version: 0) => timeout_ms [topics] TAG_BUFFER
 timeout_ms => INT32
 topics => name [partition_indexes] TAG_BUFFER
   name => COMPACT_STRING
   partition_indexes => INT32