Using specific types in consumer instead of GenericRecord