Access to the Kafka AdminClient which life
Access to the Kafka AdminClient which life
Messages expected from #produceBatches generation.
Messages expected from #produceBatches generation.
Close internal admin client instances.
Close internal admin client instances.
Return a unique group id with a given suffix.
Return a unique group id with a given suffix.
Return a unique group id with a default suffix.
Return a unique group id with a default suffix.
Java Api
Java Api
Create a topic with given suffix, partition number, replication factor, and topic configuration.
This method will block and return only when the topic has been successfully created.
Create a topic with given suffix, partition number, replication factor, and topic configuration.
Create a topic with given suffix, partition number, replication factor, and topic configuration.
This method will block and return only when the topic has been successfully created.
Create a topic with given suffix, partition number, replication factor, and no topic configuration.
Create a topic with given suffix, partition number, replication factor, and no topic configuration.
This method will block and return only when the topic has been successfully created.
Create a topic with a given suffix, partition number, a replication factor of one, and no topic configuration.
Create a topic with a given suffix, partition number, a replication factor of one, and no topic configuration.
This method will block and return only when the topic has been successfully created.
Create a topic with a given suffix, single partitions, a replication factor of one, and no topic configuration.
Create a topic with a given suffix, single partitions, a replication factor of one, and no topic configuration.
This method will block and return only when the topic has been successfully created.
Create a topic with a default suffix, single partition, a replication factor of one, and no topic configuration.
Create a topic with a default suffix, single partition, a replication factor of one, and no topic configuration.
This method will block and return only when the topic has been successfully created.
Return a unique topic name.
Return a unique topic name.
Return a unique transactional id with a given suffix.
Return a unique transactional id with a given suffix.
Return a unique transactional id with a default suffix.
Return a unique transactional id with a default suffix.
Produce messages to topic using specified range and return a Future so the caller can synchronize consumption.
Produce messages to topic using specified range and return a Future so the caller can synchronize consumption.
Produce messages to topic using specified range and return a Future so the caller can synchronize consumption.
Produce messages to topic using specified range and return a Future so the caller can synchronize consumption.
Produce batches over several topics.
Produce batches over several topics.
Create internal admin clients.
Create internal admin clients.
Gives access to adminClient
,
be sure to call cleanUpAdminClient
after the tests are done.
Override this to change default settings for starting the Kafka testcontainers cluster.
Override this to change default settings for starting the Kafka testcontainers cluster.
Periodically checks if a given predicate on cluster state holds.
Periodically checks if a given predicate on cluster state holds.
If the predicate does not hold after configured amount of time, throws an exception.
Periodically checks if the given predicate on consumer group state holds.
Periodically checks if the given predicate on consumer group state holds.
If the predicate does not hold after configured amount of time, throws an exception.
Periodically checks if the given predicate on consumer summary holds.
Periodically checks if the given predicate on consumer summary holds.
If the predicate does not hold after configured amount of time, throws an exception.
Override this to select a different Kafka version be choosing the desired version of Confluent Platform: Available Docker images, Kafka versions in Confluent Platform
Override this to select a different Kafka version be choosing the desired version of Confluent Platform: Available Docker images, Kafka versions in Confluent Platform
Deprecated: set Confluent Platform version in KafkaTestkitTestcontainersSettings
(Since version 2.0.0) Use testcontainersSettings instead.
(Since version 2.5.5) Use expectNoMessage instead
(Since version 2.5.5) Use expectNoMessage instead
Uses Testcontainers to start a Kafka broker in a Docker container once per class. The Testcontainers dependency has to be added explicitly.