Packages

trait AdminClient extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdminClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def alterConfigs(configs: Map[ConfigResource, KafkaConfig], options: AlterConfigsOptions): Task[Unit]

    Update the configuration for the specified resources.

    Update the configuration for the specified resources.

    If you are using brokers with version 2.3.0 or higher, please use incrementalAlterConfigs instead.

  2. abstract def alterConfigsAsync(configs: Map[ConfigResource, KafkaConfig], options: AlterConfigsOptions): Task[Map[ConfigResource, Task[Unit]]]

    Update the configuration for the specified resources async.

    Update the configuration for the specified resources async.

    If you are using brokers with version 2.3.0 or higher, please use incrementalAlterConfigs instead.

  3. abstract def alterConsumerGroupOffsets(groupId: String, offsets: Map[TopicPartition, OffsetAndMetadata], options: Option[AlterConsumerGroupOffsetsOptions] = None): Task[Unit]

    Alter offsets for the specified partitions and consumer group.

  4. abstract def createAcls(acls: Set[AclBinding], options: Option[CreateAclOptions] = None): Task[Unit]

    Creates access control lists (ACLs) which are bound to specific resources.

  5. abstract def createAclsAsync(acls: Set[AclBinding], options: Option[CreateAclOptions] = None): Task[Map[AclBinding, Task[Unit]]]

    Creates access control lists (ACLs) which are bound to specific resources async.

  6. abstract def createPartitions(newPartitions: Map[String, NewPartitions], options: Option[CreatePartitionsOptions] = None): Task[Unit]

    Add new partitions to a topic.

  7. abstract def createTopic(newTopic: NewTopic, validateOnly: Boolean = false): Task[Unit]

    Create a single topic.

  8. abstract def createTopics(newTopics: Iterable[NewTopic], options: Option[CreateTopicsOptions] = None): Task[Unit]

    Create multiple topics.

  9. abstract def deleteAcls(filters: Set[AclBindingFilter], options: Option[DeleteAclsOptions] = None): Task[Set[AclBinding]]

    Deletes access control lists (ACLs) according to the supplied filters.

  10. abstract def deleteAclsAsync(filters: Set[AclBindingFilter], options: Option[DeleteAclsOptions] = None): Task[Map[AclBindingFilter, Task[Map[AclBinding, Option[Throwable]]]]]

    Deletes access control lists (ACLs) according to the supplied filters async.

  11. abstract def deleteConsumerGroups(groupIds: Iterable[String], options: Option[DeleteConsumerGroupOptions] = None): Task[Unit]

    Delete consumer groups.

  12. abstract def deleteRecords(recordsToDelete: Map[TopicPartition, RecordsToDelete], deleteRecordsOptions: Option[DeleteRecordsOptions] = None): Task[Unit]

    Delete records.

  13. abstract def deleteTopic(topic: String): Task[Unit]

    Delete a single topic.

  14. abstract def deleteTopics(topics: Iterable[String], options: Option[DeleteTopicsOptions] = None): Task[Unit]

    Delete multiple topics.

  15. abstract def describeAcls(filter: AclBindingFilter, options: Option[DescribeAclOptions] = None): Task[Set[AclBinding]]
  16. abstract def describeClusterAuthorizedOperations(options: Option[DescribeClusterOptions] = None): Task[Set[AclOperation]]

    Get the cluster authorized operations.

  17. abstract def describeClusterController(options: Option[DescribeClusterOptions] = None): Task[Option[Node]]

    Get the cluster controller.

  18. abstract def describeClusterId(options: Option[DescribeClusterOptions] = None): Task[String]

    Get the cluster id.

  19. abstract def describeClusterNodes(options: Option[DescribeClusterOptions] = None): Task[List[Node]]

    Get the cluster nodes.

  20. abstract def describeConfigs(configResources: Iterable[ConfigResource], options: Option[DescribeConfigsOptions] = None): Task[Map[ConfigResource, KafkaConfig]]

    Get the configuration for the specified resources.

  21. abstract def describeConfigsAsync(configResources: Iterable[ConfigResource], options: Option[DescribeConfigsOptions] = None): Task[Map[ConfigResource, Task[KafkaConfig]]]

    Get the configuration for the specified resources async.

  22. abstract def describeConsumerGroups(groupIds: List[String], options: Option[DescribeConsumerGroupsOptions]): Task[Map[String, ConsumerGroupDescription]]

    Describe the specified consumer groups.

  23. abstract def describeConsumerGroups(groupIds: String*): Task[Map[String, ConsumerGroupDescription]]

    Describe the specified consumer groups.

  24. abstract def describeLogDirs(brokersId: Iterable[Int]): ZIO[Any, Throwable, Map[Int, Map[String, LogDirDescription]]]

    Describe the log directories of the specified brokers

  25. abstract def describeLogDirsAsync(brokersId: Iterable[Int]): ZIO[Any, Throwable, Map[Int, Task[Map[String, LogDirDescription]]]]

    Describe the log directories of the specified brokers async

  26. abstract def describeTopics(topicNames: Iterable[String], options: Option[DescribeTopicsOptions] = None): Task[Map[String, TopicDescription]]

    Describe the specified topics.

  27. abstract def incrementalAlterConfigs(configs: Map[ConfigResource, Iterable[AlterConfigOp]], options: AlterConfigsOptions): Task[Unit]

    Incrementally update the configuration for the specified resources.

    Incrementally update the configuration for the specified resources. Only supported by brokers with version 2.3.0 or higher. Use alterConfigs otherwise.

  28. abstract def incrementalAlterConfigsAsync(configs: Map[ConfigResource, Iterable[AlterConfigOp]], options: AlterConfigsOptions): Task[Map[ConfigResource, Task[Unit]]]

    Incrementally update the configuration for the specified resources async.

    Incrementally update the configuration for the specified resources async. Only supported by brokers with version 2.3.0 or higher. Use alterConfigsAsync otherwise.

  29. abstract def listConsumerGroupOffsets(groupId: String, options: Option[ListConsumerGroupOffsetsOptions] = None): Task[Map[TopicPartition, OffsetAndMetadata]]

    List Consumer Group offsets for the specified partitions.

  30. abstract def listConsumerGroups(options: Option[ListConsumerGroupsOptions] = None): Task[List[ConsumerGroupListing]]

    List the consumer groups in the cluster.

  31. abstract def listOffsets(topicPartitionOffsets: Map[TopicPartition, OffsetSpec], options: Option[ListOffsetsOptions] = None): Task[Map[TopicPartition, ListOffsetsResultInfo]]

    List offset for the specified partitions.

  32. abstract def listOffsetsAsync(topicPartitionOffsets: Map[TopicPartition, OffsetSpec], options: Option[ListOffsetsOptions] = None): Task[Map[TopicPartition, Task[ListOffsetsResultInfo]]]

    List offset for the specified partitions.

  33. abstract def listTopics(listTopicsOptions: Option[ListTopicsOptions] = None): Task[Map[String, TopicListing]]

    List the topics in the cluster.

  34. abstract def metrics: Task[Map[MetricName, Metric]]

    Retrieves metrics for the underlying AdminClient

  35. abstract def removeMembersFromConsumerGroup(groupId: String, membersToRemove: Set[String]): Task[Unit]

    Remove the specified members from a consumer group.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped