Thrift structures do not carry a single structure type indicator (at least not in the default binary protocol). Thus, to deserialize the Thrift data tree, you need to know the type of structure in the root. Thus, your idea of one type of structure for each topic is reasonable.
, , Thrift... , , , , . , Trrift .