using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiShe.CollectBus.Kafka.AdminClient { public interface IAdminClientService { /// /// Checks the topic asynchronous. /// /// The topic. /// Task CheckTopicAsync(string topic); /// /// Creates the topic if not exist asynchronous. /// /// Name of the topic. /// The factor number. /// The partition number. /// Task CreateTopicIfNotExistAsync(string topicName, short factorNum, int partitionNum); /// /// Deletes the topic asynchronous. /// /// Name of the topic. /// Task DeleteTopicAsync(List topicName); } }