internal static SafeTopicConfigHandle Create() { var ch = LibRdKafka.topic_conf_new(); if (ch.IsInvalid) { throw new Exception("Failed to create TopicConfig"); } return(ch); }