2025-04-09 14:33:20 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.Kafka.AdminClient
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IAdminClientService
|
|
|
|
|
|
{
|
2025-04-12 15:11:18 +08:00
|
|
|
|
Task CreateTopicAsync(string topic, int numPartitions, short replicationFactor);
|
|
|
|
|
|
Task DeleteTopicAsync(string topic);
|
|
|
|
|
|
Task<List<string>> ListTopicsAsync();
|
|
|
|
|
|
Task<bool> TopicExistsAsync(string topic);
|
2025-04-09 14:33:20 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|