public Topic CreateTopic(string topicId) { var createTopicSampleObject = new CreateTopicSample(); var topic = createTopicSampleObject.CreateTopic(ProjectId, topicId); TempTopicIds.Add(topicId); return(topic); }
public Topic CreateTopicWithSchema(string topicId, string schemaId, Encoding encoding) { var createTopicWithSchemaSampleObject = new CreateTopicWithSchemaSample(); var topic = createTopicWithSchemaSampleObject.CreateTopicWithSchema(ProjectId, topicId, schemaId, encoding); TempTopicIds.Add(topicId); return(topic); }