Store the codec in the topic.