io.github.embeddedkafka.ops.AdminOps
Trait for admin-level actions on Kafka components. Relies on
org.apache.kafka.clients.admin.AdminClient
.
Attributes
- C
an EmbeddedKafkaConfig
- Graph
- Supertypes
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Creates a topic with a custom configuration.
Creates a topic with a custom configuration.
Attributes
- config
an implicit EmbeddedKafkaConfig
- partitions
number of partitions
- replicationFactor
replication factor
- topic
the topic name
- topicConfig
per topic configuration Map
Either deletes or marks for deletion a list of topics.
Either deletes or marks for deletion a list of topics.
Attributes
- config
an implicit EmbeddedKafkaConfig
- topics
the topic names
Creates an AdminClient
, then executes the body passed as a parameter.
Creates an AdminClient
, then executes the body passed as a parameter.
Attributes
- body
the function to execute
- config
an implicit EmbeddedKafkaConfig