Class KafkaAdminClientExtensions
- Namespace
- MASES.KNet.Extensions
- Assembly
- MASES.KNet.dll
Extension for KafkaAdminClient
public static class KafkaAdminClientExtensions
- Inheritance
-
KafkaAdminClientExtensions
- Inherited Members
Methods
AbortTransactionAsync(IAdmin, AbortTransactionSpec)
Async version of AbortTransaction(AbortTransactionSpec)
public static Task<AbortTransactionResult> AbortTransactionAsync(this IAdmin admin, AbortTransactionSpec spec)
Parameters
admin
IAdminspec
AbortTransactionSpec
Returns
AbortTransactionAsync(IAdmin, AbortTransactionSpec, AbortTransactionOptions)
Async version of AbortTransaction(AbortTransactionSpec, AbortTransactionOptions)
public static Task<AbortTransactionResult> AbortTransactionAsync(this IAdmin admin, AbortTransactionSpec spec, AbortTransactionOptions options)
Parameters
admin
IAdminspec
AbortTransactionSpecoptions
AbortTransactionOptions
Returns
AlterClientQuotasAsync(IAdmin, Collection<ClientQuotaAlteration>)
Async version of AlterClientQuotas(Collection<ClientQuotaAlteration>)
public static Task<AlterClientQuotasResult> AlterClientQuotasAsync(this IAdmin admin, Collection<ClientQuotaAlteration> entries)
Parameters
admin
IAdminentries
Collection<ClientQuotaAlteration>
Returns
AlterClientQuotasAsync(IAdmin, Collection<ClientQuotaAlteration>, AlterClientQuotasOptions)
public static Task<AlterClientQuotasResult> AlterClientQuotasAsync(this IAdmin admin, Collection<ClientQuotaAlteration> entries, AlterClientQuotasOptions options)
Parameters
admin
IAdminentries
Collection<ClientQuotaAlteration>options
AlterClientQuotasOptions
Returns
AlterConsumerGroupOffsetsAsync(IAdmin, string, Map<TopicPartition, OffsetAndMetadata>)
public static Task<AlterConsumerGroupOffsetsResult> AlterConsumerGroupOffsetsAsync(this IAdmin admin, string groupId, Map<TopicPartition, OffsetAndMetadata> offsets)
Parameters
admin
IAdmingroupId
stringoffsets
Map<TopicPartition, OffsetAndMetadata>
Returns
AlterConsumerGroupOffsetsAsync(IAdmin, string, Map<TopicPartition, OffsetAndMetadata>, AlterConsumerGroupOffsetsOptions)
Async version of AlterConsumerGroupOffsets(String, Map<TopicPartition, OffsetAndMetadata>, AlterConsumerGroupOffsetsOptions)
public static Task<AlterConsumerGroupOffsetsResult> AlterConsumerGroupOffsetsAsync(this IAdmin admin, string groupId, Map<TopicPartition, OffsetAndMetadata> offsets, AlterConsumerGroupOffsetsOptions options)
Parameters
admin
IAdmingroupId
stringoffsets
Map<TopicPartition, OffsetAndMetadata>options
AlterConsumerGroupOffsetsOptions
Returns
AlterPartitionReassignmentsAsync(IAdmin, Map<TopicPartition, Optional<NewPartitionReassignment>>)
Async version of AlterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>)
public static Task<AlterPartitionReassignmentsResult> AlterPartitionReassignmentsAsync(this IAdmin admin, Map<TopicPartition, Optional<NewPartitionReassignment>> reassignments)
Parameters
admin
IAdminreassignments
Map<TopicPartition, Optional<NewPartitionReassignment>>
Returns
AlterPartitionReassignmentsAsync(IAdmin, Map<TopicPartition, Optional<NewPartitionReassignment>>, AlterPartitionReassignmentsOptions)
Async version of AlterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>, AlterPartitionReassignmentsOptions)
public static Task<AlterPartitionReassignmentsResult> AlterPartitionReassignmentsAsync(this IAdmin admin, Map<TopicPartition, Optional<NewPartitionReassignment>> reassignments, AlterPartitionReassignmentsOptions options)
Parameters
admin
IAdminreassignments
Map<TopicPartition, Optional<NewPartitionReassignment>>options
AlterPartitionReassignmentsOptions
Returns
AlterReplicaLogDirsAsync(IAdmin, Map<TopicPartitionReplica, String>)
Async version of AlterReplicaLogDirs(Map<TopicPartitionReplica, String>)
public static Task<AlterReplicaLogDirsResult> AlterReplicaLogDirsAsync(this IAdmin admin, Map<TopicPartitionReplica, String> replicaAssignment)
Parameters
admin
IAdminreplicaAssignment
Map<TopicPartitionReplica, String>
Returns
AlterReplicaLogDirsAsync(IAdmin, Map<TopicPartitionReplica, String>, AlterReplicaLogDirsOptions)
Async version of AlterReplicaLogDirs(Map<TopicPartitionReplica, String>, AlterReplicaLogDirsOptions)
public static Task<AlterReplicaLogDirsResult> AlterReplicaLogDirsAsync(this IAdmin admin, Map<TopicPartitionReplica, String> replicaAssignment, AlterReplicaLogDirsOptions options)
Parameters
admin
IAdminreplicaAssignment
Map<TopicPartitionReplica, String>options
AlterReplicaLogDirsOptions
Returns
AlterUserScramCredentialsAsync(IAdmin, List<UserScramCredentialAlteration>)
Async version of AlterUserScramCredentials(List<UserScramCredentialAlteration>)
public static Task<AlterUserScramCredentialsResult> AlterUserScramCredentialsAsync(this IAdmin admin, List<UserScramCredentialAlteration> alterations)
Parameters
admin
IAdminalterations
List<UserScramCredentialAlteration>
Returns
AlterUserScramCredentialsAsync(IAdmin, List<UserScramCredentialAlteration>, AlterUserScramCredentialsOptions)
Async version of AlterUserScramCredentials(List<UserScramCredentialAlteration>, AlterUserScramCredentialsOptions)
public static Task<AlterUserScramCredentialsResult> AlterUserScramCredentialsAsync(this IAdmin admin, List<UserScramCredentialAlteration> alterations, AlterUserScramCredentialsOptions options)
Parameters
admin
IAdminalterations
List<UserScramCredentialAlteration>options
AlterUserScramCredentialsOptions
Returns
CreateAclsAsync(IAdmin, Collection<AclBinding>)
Async version of CreateAcls(Collection<AclBinding>)
public static Task<CreateAclsResult> CreateAclsAsync(this IAdmin admin, Collection<AclBinding> acls)
Parameters
admin
IAdminacls
Collection<AclBinding>
Returns
CreateAclsAsync(IAdmin, Collection<AclBinding>, CreateAclsOptions)
Async version of CreateAcls(Collection<AclBinding>, CreateAclsOptions)
public static Task<CreateAclsResult> CreateAclsAsync(this IAdmin admin, Collection<AclBinding> acls, CreateAclsOptions options)
Parameters
admin
IAdminacls
Collection<AclBinding>options
CreateAclsOptions
Returns
CreateDelegationTokenAsync(IAdmin)
Async version of CreateDelegationToken()
public static Task<CreateDelegationTokenResult> CreateDelegationTokenAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
CreateDelegationTokenAsync(IAdmin, CreateDelegationTokenOptions)
Async version of CreateDelegationToken(CreateDelegationTokenOptions)
public static Task<CreateDelegationTokenResult> CreateDelegationTokenAsync(this IAdmin admin, CreateDelegationTokenOptions options)
Parameters
admin
IAdminoptions
CreateDelegationTokenOptions
Returns
CreatePartitionsAsync(IAdmin, Map<String, NewPartitions>)
Async version of CreatePartitions(Map<String, NewPartitions>)
public static Task<CreatePartitionsResult> CreatePartitionsAsync(this IAdmin admin, Map<String, NewPartitions> newPartitions)
Parameters
admin
IAdminnewPartitions
Map<String, NewPartitions>
Returns
CreatePartitionsAsync(IAdmin, Map<String, NewPartitions>, CreatePartitionsOptions)
public static Task<CreatePartitionsResult> CreatePartitionsAsync(this IAdmin admin, Map<String, NewPartitions> newPartitions, CreatePartitionsOptions options)
Parameters
admin
IAdminnewPartitions
Map<String, NewPartitions>options
CreatePartitionsOptions
Returns
CreateTopic(IAdmin, NewTopic)
Async version of CreateTopics(Collection<NewTopic>)
public static void CreateTopic(this IAdmin admin, NewTopic topic)
Parameters
CreateTopic(IAdmin, string, int, short)
Async version of CreateTopics(Collection<NewTopic>)
public static void CreateTopic(this IAdmin admin, string topicName, int numPartitions = 1, short replicationFactor = 1)
Parameters
CreateTopicAsync(IAdmin, string, int, short)
Async version of CreateTopics(Collection<NewTopic>)
public static Task<CreateTopicsResult> CreateTopicAsync(this IAdmin admin, string topicName, int numPartitions = 1, short replicationFactor = 1)
Parameters
Returns
CreateTopicsAsync(IAdmin, Collection<NewTopic>)
Async version of CreateTopics(Collection<NewTopic>)
public static Task<CreateTopicsResult> CreateTopicsAsync(this IAdmin admin, Collection<NewTopic> newTopics)
Parameters
admin
IAdminnewTopics
Collection<NewTopic>
Returns
CreateTopicsAsync(IAdmin, Collection<NewTopic>, CreateTopicsOptions)
Async version of CreateTopics(Collection<NewTopic>)
public static Task<CreateTopicsResult> CreateTopicsAsync(this IAdmin admin, Collection<NewTopic> newTopics, CreateTopicsOptions options)
Parameters
admin
IAdminnewTopics
Collection<NewTopic>options
CreateTopicsOptions
Returns
DeleteAclsAsync(IAdmin, Collection<AclBindingFilter>)
Async version of DeleteAcls(Collection<AclBindingFilter>)
public static Task<DeleteAclsResult> DeleteAclsAsync(this IAdmin admin, Collection<AclBindingFilter> filters)
Parameters
admin
IAdminfilters
Collection<AclBindingFilter>
Returns
DeleteAclsAsync(IAdmin, Collection<AclBindingFilter>, DeleteAclsOptions)
Async version of DeleteAcls(Collection<AclBindingFilter>, DeleteAclsOptions)
public static Task<DeleteAclsResult> DeleteAclsAsync(this IAdmin admin, Collection<AclBindingFilter> filters, DeleteAclsOptions options)
Parameters
admin
IAdminfilters
Collection<AclBindingFilter>options
DeleteAclsOptions
Returns
DeleteConsumerGroupOffsetsAsync(IAdmin, string, Set<TopicPartition>)
Async version of DeleteConsumerGroupOffsets(String, Set<TopicPartition>)
public static Task<DeleteConsumerGroupOffsetsResult> DeleteConsumerGroupOffsetsAsync(this IAdmin admin, string groupId, Set<TopicPartition> partitions)
Parameters
admin
IAdmingroupId
stringpartitions
Set<TopicPartition>
Returns
DeleteConsumerGroupOffsetsAsync(IAdmin, string, Set<TopicPartition>, DeleteConsumerGroupOffsetsOptions)
Async version of DeleteConsumerGroupOffsets(String, Set<TopicPartition>, DeleteConsumerGroupOffsetsOptions)
public static Task<DeleteConsumerGroupOffsetsResult> DeleteConsumerGroupOffsetsAsync(this IAdmin admin, string groupId, Set<TopicPartition> partitions, DeleteConsumerGroupOffsetsOptions options)
Parameters
admin
IAdmingroupId
stringpartitions
Set<TopicPartition>options
DeleteConsumerGroupOffsetsOptions
Returns
DeleteConsumerGroupsAsync(IAdmin, IEnumerable<string>)
Async version of DeleteConsumerGroups(Collection<String>)
public static Task<DeleteConsumerGroupsResult> DeleteConsumerGroupsAsync(this IAdmin admin, IEnumerable<string> groupIds)
Parameters
admin
IAdmingroupIds
IEnumerable<string>
Returns
DeleteConsumerGroupsAsync(IAdmin, IEnumerable<string>, DeleteConsumerGroupsOptions)
public static Task<DeleteConsumerGroupsResult> DeleteConsumerGroupsAsync(this IAdmin admin, IEnumerable<string> groupIds, DeleteConsumerGroupsOptions options)
Parameters
admin
IAdmingroupIds
IEnumerable<string>options
DeleteConsumerGroupsOptions
Returns
DeleteRecordsAsync(IAdmin, Map<TopicPartition, RecordsToDelete>)
Async version of DeleteRecords(Map<TopicPartition, RecordsToDelete>)
public static Task<DeleteRecordsResult> DeleteRecordsAsync(this IAdmin admin, Map<TopicPartition, RecordsToDelete> recordsToDelete)
Parameters
admin
IAdminrecordsToDelete
Map<TopicPartition, RecordsToDelete>
Returns
DeleteRecordsAsync(IAdmin, Map<TopicPartition, RecordsToDelete>, DeleteRecordsOptions)
public static Task<DeleteRecordsResult> DeleteRecordsAsync(this IAdmin admin, Map<TopicPartition, RecordsToDelete> recordsToDelete, DeleteRecordsOptions options)
Parameters
admin
IAdminrecordsToDelete
Map<TopicPartition, RecordsToDelete>options
DeleteRecordsOptions
Returns
DeleteTopic(IAdmin, string)
Async version of DeleteTopics(Collection<String>)
public static void DeleteTopic(this IAdmin admin, string topicName)
Parameters
DeleteTopicAsync(IAdmin, string)
Async version of DeleteTopics(Collection<String>)
public static Task<DeleteTopicsResult> DeleteTopicAsync(this IAdmin admin, string topicName)
Parameters
Returns
DeleteTopicsAsync(IAdmin, TopicCollection)
Async version of DeleteTopics(TopicCollection)
public static Task<DeleteTopicsResult> DeleteTopicsAsync(this IAdmin admin, TopicCollection topics)
Parameters
admin
IAdmintopics
TopicCollection
Returns
DeleteTopicsAsync(IAdmin, TopicCollection, DeleteTopicsOptions)
Async version of DeleteTopics(TopicCollection, DeleteTopicsOptions)
public static Task<DeleteTopicsResult> DeleteTopicsAsync(this IAdmin admin, TopicCollection topics, DeleteTopicsOptions options)
Parameters
admin
IAdmintopics
TopicCollectionoptions
DeleteTopicsOptions
Returns
DeleteTopicsAsync(IAdmin, IEnumerable<string>)
Async version of DeleteTopics(Collection<String>)
public static Task<DeleteTopicsResult> DeleteTopicsAsync(this IAdmin admin, IEnumerable<string> topics)
Parameters
admin
IAdmintopics
IEnumerable<string>
Returns
DeleteTopicsAsync(IAdmin, IEnumerable<string>, DeleteTopicsOptions)
Async version of DeleteTopics(Collection<String>)
public static Task<DeleteTopicsResult> DeleteTopicsAsync(this IAdmin admin, IEnumerable<string> topics, DeleteTopicsOptions options)
Parameters
admin
IAdmintopics
IEnumerable<string>options
DeleteTopicsOptions
Returns
DescribeAclsAsync(IAdmin, AclBindingFilter)
Async version of DescribeAcls(AclBindingFilter)
public static Task<DescribeAclsResult> DescribeAclsAsync(this IAdmin admin, AclBindingFilter filter)
Parameters
admin
IAdminfilter
AclBindingFilter
Returns
DescribeAclsAsync(IAdmin, AclBindingFilter, DescribeAclsOptions)
Async version of DescribeAcls(AclBindingFilter, DescribeAclsOptions)
public static Task<DescribeAclsResult> DescribeAclsAsync(this IAdmin admin, AclBindingFilter filter, DescribeAclsOptions options)
Parameters
admin
IAdminfilter
AclBindingFilteroptions
DescribeAclsOptions
Returns
DescribeClientQuotasAsync(IAdmin, ClientQuotaFilter)
Async version of DescribeClientQuotas(ClientQuotaFilter)
public static Task<DescribeClientQuotasResult> DescribeClientQuotasAsync(this IAdmin admin, ClientQuotaFilter filter)
Parameters
admin
IAdminfilter
ClientQuotaFilter
Returns
DescribeClientQuotasAsync(IAdmin, ClientQuotaFilter, DescribeClientQuotasOptions)
Async version of DescribeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions)
public static Task<DescribeClientQuotasResult> DescribeClientQuotasAsync(this IAdmin admin, ClientQuotaFilter filter, DescribeClientQuotasOptions options)
Parameters
admin
IAdminfilter
ClientQuotaFilteroptions
DescribeClientQuotasOptions
Returns
DescribeClusterAsync(IAdmin)
Async version of DescribeCluster()
public static Task<DescribeClusterResult> DescribeClusterAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
DescribeClusterAsync(IAdmin, DescribeClusterOptions)
Async version of DescribeCluster(DescribeClusterOptions)
public static Task<DescribeClusterResult> DescribeClusterAsync(this IAdmin admin, DescribeClusterOptions options)
Parameters
admin
IAdminoptions
DescribeClusterOptions
Returns
DescribeConfigsAsync(IAdmin, Collection<ConfigResource>)
Async version of DescribeConfigs(Collection<ConfigResource>)
public static Task<DescribeConfigsResult> DescribeConfigsAsync(this IAdmin admin, Collection<ConfigResource> resources)
Parameters
admin
IAdminresources
Collection<ConfigResource>
Returns
DescribeConfigsAsync(IAdmin, Collection<ConfigResource>, DescribeConfigsOptions)
Async version of DescribeConfigs(Collection<ConfigResource>, DescribeConfigsOptions)
public static Task<DescribeConfigsResult> DescribeConfigsAsync(this IAdmin admin, Collection<ConfigResource> resources, DescribeConfigsOptions options)
Parameters
admin
IAdminresources
Collection<ConfigResource>options
DescribeConfigsOptions
Returns
DescribeConsumerGroupsAsync(IAdmin, IEnumerable<string>)
public static Task<DescribeConsumerGroupsResult> DescribeConsumerGroupsAsync(this IAdmin admin, IEnumerable<string> groupIds)
Parameters
admin
IAdmingroupIds
IEnumerable<string>
Returns
DescribeConsumerGroupsAsync(IAdmin, IEnumerable<string>, DescribeConsumerGroupsOptions)
Async version of DescribeConsumerGroups(Collection<String>)
public static Task<DescribeConsumerGroupsResult> DescribeConsumerGroupsAsync(this IAdmin admin, IEnumerable<string> groupIds, DescribeConsumerGroupsOptions options)
Parameters
admin
IAdmingroupIds
IEnumerable<string>options
DescribeConsumerGroupsOptions
Returns
DescribeDelegationTokenAsync(IAdmin)
Async version of DescribeDelegationToken()
public static Task<DescribeDelegationTokenResult> DescribeDelegationTokenAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
DescribeDelegationTokenAsync(IAdmin, DescribeDelegationTokenOptions)
Async version of DescribeDelegationToken(DescribeDelegationTokenOptions)
public static Task<DescribeDelegationTokenResult> DescribeDelegationTokenAsync(this IAdmin admin, DescribeDelegationTokenOptions options)
Parameters
admin
IAdminoptions
DescribeDelegationTokenOptions
Returns
DescribeFeaturesAsync(IAdmin)
Async version of DescribeFeatures()
public static Task<DescribeFeaturesResult> DescribeFeaturesAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
DescribeFeaturesAsync(IAdmin, DescribeFeaturesOptions)
Async version of DescribeFeatures(DescribeFeaturesOptions)
public static Task<DescribeFeaturesResult> DescribeFeaturesAsync(this IAdmin admin, DescribeFeaturesOptions options)
Parameters
admin
IAdminoptions
DescribeFeaturesOptions
Returns
DescribeLogDirsAsync(IAdmin, Collection<Integer>)
Async version of DescribeLogDirs(Collection<Integer>)
public static Task<DescribeLogDirsResult> DescribeLogDirsAsync(this IAdmin admin, Collection<Integer> brokers)
Parameters
admin
IAdminbrokers
Collection<Integer>
Returns
DescribeLogDirsAsync(IAdmin, Collection<Integer>, DescribeLogDirsOptions)
Async version of DescribeLogDirs(Collection<Integer>, DescribeLogDirsOptions)
public static Task<DescribeLogDirsResult> DescribeLogDirsAsync(this IAdmin admin, Collection<Integer> brokers, DescribeLogDirsOptions options)
Parameters
admin
IAdminbrokers
Collection<Integer>options
DescribeLogDirsOptions
Returns
DescribeProducersAsync(IAdmin, Collection<TopicPartition>)
Async version of DescribeProducers(Collection<TopicPartition>)
public static Task<DescribeProducersResult> DescribeProducersAsync(this IAdmin admin, Collection<TopicPartition> partitions)
Parameters
admin
IAdminpartitions
Collection<TopicPartition>
Returns
DescribeProducersAsync(IAdmin, Collection<TopicPartition>, DescribeProducersOptions)
public static Task<DescribeProducersResult> DescribeProducersAsync(this IAdmin admin, Collection<TopicPartition> partitions, DescribeProducersOptions options)
Parameters
admin
IAdminpartitions
Collection<TopicPartition>options
DescribeProducersOptions
Returns
DescribeReplicaLogDirsAsync(IAdmin, Collection<TopicPartitionReplica>)
Async version of DescribeReplicaLogDirs(Collection<TopicPartitionReplica>)
public static Task<DescribeReplicaLogDirsResult> DescribeReplicaLogDirsAsync(this IAdmin admin, Collection<TopicPartitionReplica> replicas)
Parameters
admin
IAdminreplicas
Collection<TopicPartitionReplica>
Returns
DescribeReplicaLogDirsAsync(IAdmin, Collection<TopicPartitionReplica>, DescribeReplicaLogDirsOptions)
Async version of DescribeReplicaLogDirs(Collection<TopicPartitionReplica>, DescribeReplicaLogDirsOptions)
public static Task<DescribeReplicaLogDirsResult> DescribeReplicaLogDirsAsync(this IAdmin admin, Collection<TopicPartitionReplica> replicas, DescribeReplicaLogDirsOptions options)
Parameters
admin
IAdminreplicas
Collection<TopicPartitionReplica>options
DescribeReplicaLogDirsOptions
Returns
DescribeTopicAsync(IAdmin, string)
Async version of DescribeTopics(Collection<String>)
public static Task<DescribeTopicsResult> DescribeTopicAsync(this IAdmin admin, string topicName)
Parameters
Returns
DescribeTopicsAsync(IAdmin, IEnumerable<string>)
Async version of DescribeTopics(Collection<String>)
public static Task<DescribeTopicsResult> DescribeTopicsAsync(this IAdmin admin, IEnumerable<string> topicNames)
Parameters
admin
IAdmintopicNames
IEnumerable<string>
Returns
DescribeTopicsAsync(IAdmin, IEnumerable<string>, DescribeTopicsOptions)
Async version of DescribeTopics(Collection<String>, DescribeTopicsOptions)
public static Task<DescribeTopicsResult> DescribeTopicsAsync(this IAdmin admin, IEnumerable<string> topicNames, DescribeTopicsOptions options)
Parameters
admin
IAdmintopicNames
IEnumerable<string>options
DescribeTopicsOptions
Returns
DescribeTransactionsAsync(IAdmin, IEnumerable<string>)
Async version of DescribeTransactions(Collection<String>)
public static Task<DescribeTransactionsResult> DescribeTransactionsAsync(this IAdmin admin, IEnumerable<string> transactionalIds)
Parameters
admin
IAdmintransactionalIds
IEnumerable<string>
Returns
DescribeTransactionsAsync(IAdmin, IEnumerable<string>, DescribeTransactionsOptions)
public static Task<DescribeTransactionsResult> DescribeTransactionsAsync(this IAdmin admin, IEnumerable<string> transactionalIds, DescribeTransactionsOptions options)
Parameters
admin
IAdmintransactionalIds
IEnumerable<string>options
DescribeTransactionsOptions
Returns
DescribeUserScramCredentialsAsync(IAdmin)
Async version of DescribeUserScramCredentials()
public static Task<DescribeUserScramCredentialsResult> DescribeUserScramCredentialsAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
DescribeUserScramCredentialsAsync(IAdmin, List<String>)
Async version of DescribeUserScramCredentials(List<String>)
public static Task<DescribeUserScramCredentialsResult> DescribeUserScramCredentialsAsync(this IAdmin admin, List<String> users)
Parameters
Returns
DescribeUserScramCredentialsAsync(IAdmin, List<String>, DescribeUserScramCredentialsOptions)
public static Task<DescribeUserScramCredentialsResult> DescribeUserScramCredentialsAsync(this IAdmin admin, List<String> users, DescribeUserScramCredentialsOptions options)
Parameters
admin
IAdminusers
List<String>options
DescribeUserScramCredentialsOptions
Returns
ElectLeadersAsync(IAdmin, ElectionType, Set<TopicPartition>)
Async version of ElectLeaders(ElectionType, Set<TopicPartition>)
public static Task<ElectLeadersResult> ElectLeadersAsync(this IAdmin admin, ElectionType electionType, Set<TopicPartition> partitions)
Parameters
admin
IAdminelectionType
ElectionTypepartitions
Set<TopicPartition>
Returns
ElectLeadersAsync(IAdmin, ElectionType, Set<TopicPartition>, ElectLeadersOptions)
Async version of ElectLeaders(ElectionType, Set<TopicPartition>, ElectLeadersOptions)
public static Task<ElectLeadersResult> ElectLeadersAsync(this IAdmin admin, ElectionType electionType, Set<TopicPartition> partitions, ElectLeadersOptions options)
Parameters
admin
IAdminelectionType
ElectionTypepartitions
Set<TopicPartition>options
ElectLeadersOptions
Returns
ExpireDelegationTokenAsync(IAdmin, byte[])
Async version of ExpireDelegationToken(byte[])
public static Task<ExpireDelegationTokenResult> ExpireDelegationTokenAsync(this IAdmin admin, byte[] hmac)
Parameters
Returns
ExpireDelegationTokenAsync(IAdmin, byte[], ExpireDelegationTokenOptions)
Async version of ExpireDelegationToken(byte[], ExpireDelegationTokenOptions)
public static Task<ExpireDelegationTokenResult> ExpireDelegationTokenAsync(this IAdmin admin, byte[] hmac, ExpireDelegationTokenOptions options)
Parameters
admin
IAdminhmac
byte[]options
ExpireDelegationTokenOptions
Returns
IncrementalAlterConfigsAsync(IAdmin, Map<ConfigResource, Collection<AlterConfigOp>>)
public static Task<AlterConfigsResult> IncrementalAlterConfigsAsync(this IAdmin admin, Map<ConfigResource, Collection<AlterConfigOp>> configs)
Parameters
admin
IAdminconfigs
Map<ConfigResource, Collection<AlterConfigOp>>
Returns
IncrementalAlterConfigsAsync(IAdmin, Map<ConfigResource, Collection<AlterConfigOp>>, AlterConfigsOptions)
Async version of IncrementalAlterConfigs(Map<ConfigResource, Collection<AlterConfigOp>>, AlterConfigsOptions)
public static Task<AlterConfigsResult> IncrementalAlterConfigsAsync(this IAdmin admin, Map<ConfigResource, Collection<AlterConfigOp>> configs, AlterConfigsOptions options)
Parameters
admin
IAdminconfigs
Map<ConfigResource, Collection<AlterConfigOp>>options
AlterConfigsOptions
Returns
ListConsumerGroupOffsetsAsync(IAdmin, string)
Async version of ListConsumerGroupOffsets(String)
public static Task<ListConsumerGroupOffsetsResult> ListConsumerGroupOffsetsAsync(this IAdmin admin, string groupId)
Parameters
Returns
ListConsumerGroupOffsetsAsync(IAdmin, string, ListConsumerGroupOffsetsOptions)
Async version of ListConsumerGroupOffsets(String, ListConsumerGroupOffsetsOptions)
public static Task<ListConsumerGroupOffsetsResult> ListConsumerGroupOffsetsAsync(this IAdmin admin, string groupId, ListConsumerGroupOffsetsOptions options)
Parameters
admin
IAdmingroupId
stringoptions
ListConsumerGroupOffsetsOptions
Returns
ListConsumerGroupsAsync(IAdmin)
Async version of ListConsumerGroups()
public static Task<ListConsumerGroupsResult> ListConsumerGroupsAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
ListConsumerGroupsAsync(IAdmin, ListConsumerGroupsOptions)
Async version of ListConsumerGroups(ListConsumerGroupsOptions)
public static Task<ListConsumerGroupsResult> ListConsumerGroupsAsync(this IAdmin admin, ListConsumerGroupsOptions options)
Parameters
admin
IAdminoptions
ListConsumerGroupsOptions
Returns
ListOffsetsAsync(IAdmin, Map<TopicPartition, OffsetSpec>)
Async version of ListOffsets(Map<TopicPartition, OffsetSpec>)
public static Task<ListOffsetsResult> ListOffsetsAsync(this IAdmin admin, Map<TopicPartition, OffsetSpec> topicPartitionOffsets)
Parameters
admin
IAdmintopicPartitionOffsets
Map<TopicPartition, OffsetSpec>
Returns
ListOffsetsAsync(IAdmin, Map<TopicPartition, OffsetSpec>, ListOffsetsOptions)
Async version of ListOffsets(Map<TopicPartition, OffsetSpec>, ListOffsetsOptions)
public static Task<ListOffsetsResult> ListOffsetsAsync(this IAdmin admin, Map<TopicPartition, OffsetSpec> topicPartitionOffsets, ListOffsetsOptions options)
Parameters
admin
IAdmintopicPartitionOffsets
Map<TopicPartition, OffsetSpec>options
ListOffsetsOptions
Returns
ListPartitionReassignmentsAsync(IAdmin)
Async version of ListPartitionReassignments()
public static Task<ListPartitionReassignmentsResult> ListPartitionReassignmentsAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
ListPartitionReassignmentsAsync(IAdmin, Optional<Set<TopicPartition>>, ListPartitionReassignmentsOptions)
Async version of ListPartitionReassignments(Optional<Set<TopicPartition>>, ListPartitionReassignmentsOptions)
public static Task<ListPartitionReassignmentsResult> ListPartitionReassignmentsAsync(this IAdmin admin, Optional<Set<TopicPartition>> partitions, ListPartitionReassignmentsOptions options)
Parameters
admin
IAdminpartitions
Optional<Set<TopicPartition>>options
ListPartitionReassignmentsOptions
Returns
ListPartitionReassignmentsAsync(IAdmin, Set<TopicPartition>)
Async version of ListPartitionReassignments(Set<TopicPartition>)
public static Task<ListPartitionReassignmentsResult> ListPartitionReassignmentsAsync(this IAdmin admin, Set<TopicPartition> partitions)
Parameters
admin
IAdminpartitions
Set<TopicPartition>
Returns
ListPartitionReassignmentsAsync(IAdmin, Set<TopicPartition>, ListPartitionReassignmentsOptions)
public static Task<ListPartitionReassignmentsResult> ListPartitionReassignmentsAsync(this IAdmin admin, Set<TopicPartition> partitions, ListPartitionReassignmentsOptions options)
Parameters
admin
IAdminpartitions
Set<TopicPartition>options
ListPartitionReassignmentsOptions
Returns
ListPartitionReassignmentsAsync(IAdmin, ListPartitionReassignmentsOptions)
Async version of ListPartitionReassignments(ListPartitionReassignmentsOptions)
public static Task<ListPartitionReassignmentsResult> ListPartitionReassignmentsAsync(this IAdmin admin, ListPartitionReassignmentsOptions options)
Parameters
admin
IAdminoptions
ListPartitionReassignmentsOptions
Returns
ListTopicsAsync(IAdmin)
Async version of ListTopics()
public static Task<ListTopicsResult> ListTopicsAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
ListTopicsAsync(IAdmin, ListTopicsOptions)
Async version of ListTopics(ListTopicsOptions)
public static Task<ListTopicsResult> ListTopicsAsync(this IAdmin admin, ListTopicsOptions options)
Parameters
admin
IAdminoptions
ListTopicsOptions
Returns
ListTransactionsAsync(IAdmin)
Async version of ListTransactions()
public static Task<ListTransactionsResult> ListTransactionsAsync(this IAdmin admin)
Parameters
admin
IAdmin
Returns
ListTransactionsAsync(IAdmin, ListTransactionsOptions)
Async version of ListTransactions(ListTransactionsOptions)
public static Task<ListTransactionsResult> ListTransactionsAsync(this IAdmin admin, ListTransactionsOptions options)
Parameters
admin
IAdminoptions
ListTransactionsOptions
Returns
RemoveMembersFromConsumerGroupAsync(IAdmin, string, RemoveMembersFromConsumerGroupOptions)
public static Task<RemoveMembersFromConsumerGroupResult> RemoveMembersFromConsumerGroupAsync(this IAdmin admin, string groupId, RemoveMembersFromConsumerGroupOptions options)
Parameters
admin
IAdmingroupId
stringoptions
RemoveMembersFromConsumerGroupOptions
Returns
RenewDelegationTokenAsync(IAdmin, byte[])
Async version of RenewDelegationToken(byte[])
public static Task<RenewDelegationTokenResult> RenewDelegationTokenAsync(this IAdmin admin, byte[] hmac)
Parameters
Returns
RenewDelegationTokenAsync(IAdmin, byte[], RenewDelegationTokenOptions)
Async version of RenewDelegationToken(byte[], RenewDelegationTokenOptions)
public static Task<RenewDelegationTokenResult> RenewDelegationTokenAsync(this IAdmin admin, byte[] hmac, RenewDelegationTokenOptions options)
Parameters
admin
IAdminhmac
byte[]options
RenewDelegationTokenOptions
Returns
UnregisterBrokerAsync(IAdmin, int)
Async version of UnregisterBroker(int)
public static Task<UnregisterBrokerResult> UnregisterBrokerAsync(this IAdmin admin, int brokerId)
Parameters
Returns
UnregisterBrokerAsync(IAdmin, int, UnregisterBrokerOptions)
Async version of UnregisterBroker(int, UnregisterBrokerOptions)
public static Task<UnregisterBrokerResult> UnregisterBrokerAsync(this IAdmin admin, int brokerId, UnregisterBrokerOptions options)
Parameters
admin
IAdminbrokerId
intoptions
UnregisterBrokerOptions
Returns
UpdateFeaturesAsync(IAdmin, Map<String, FeatureUpdate>, UpdateFeaturesOptions)
Async version of UpdateFeatures(Map<String, FeatureUpdate>, UpdateFeaturesOptions)
public static Task<UpdateFeaturesResult> UpdateFeaturesAsync(this IAdmin admin, Map<String, FeatureUpdate> featureUpdates, UpdateFeaturesOptions options)
Parameters
admin
IAdminfeatureUpdates
Map<String, FeatureUpdate>options
UpdateFeaturesOptions