Uses of Interface
org.springframework.kafka.test.EmbeddedKafkaBroker
Packages that use EmbeddedKafkaBroker
Package
Description
Provides top-level API for EmbeddedKafka.
Provides classes for JUnit5 conditions.
Utils package.
-
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test
Classes in org.springframework.kafka.test that implement EmbeddedKafkaBrokerModifier and TypeClassDescriptionclass
An embedded Kafka Broker(s) using KRaft.Methods in org.springframework.kafka.test that return EmbeddedKafkaBrokerModifier and TypeMethodDescriptionEmbeddedKafkaBroker.adminTimeout
(int adminTimeout) Set the timeout in seconds for admin operations (e.g.EmbeddedKafkaKraftBroker.adminTimeout
(int adminTimeout) EmbeddedKafkaBroker.brokerListProperty
(String brokerListProperty) Set the system property with this name to the list of broker addresses.EmbeddedKafkaKraftBroker.brokerListProperty
(String brokerListProperty) Set the system property with this name to the list of broker addresses.EmbeddedKafkaBroker.brokerProperties
(Map<String, String> properties) Specify the properties to configure Kafka Broker before start, e.g.EmbeddedKafkaKraftBroker.brokerProperties
(Map<String, String> properties) Specify the properties to configure Kafka Broker before start, e.g.EmbeddedKafkaKraftBroker.brokerProperty
(String property, Object value) Specify a broker property.static EmbeddedKafkaBroker
EmbeddedKafkaBrokerFactory.create
(EmbeddedKafka embeddedKafka) Create anEmbeddedKafkaBroker
based on theEmbeddedKafka
annotation.static EmbeddedKafkaBroker
EmbeddedKafkaBrokerFactory.create
(EmbeddedKafka embeddedKafka, Function<String, String> propertyResolver) Create anEmbeddedKafkaBroker
based on theEmbeddedKafka
annotation.EmbeddedKafkaBroker.kafkaPorts
(int... ports) Set explicit ports on which the kafka brokers will listen. -
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test.condition
Methods in org.springframework.kafka.test.condition that return EmbeddedKafkaBrokerModifier and TypeMethodDescriptionstatic @Nullable EmbeddedKafkaBroker
EmbeddedKafkaCondition.getBroker()
-
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test.utils
Methods in org.springframework.kafka.test.utils with parameters of type EmbeddedKafkaBrokerModifier and TypeMethodDescriptionKafkaTestUtils.consumerProps
(String group, String autoCommit, EmbeddedKafkaBroker embeddedKafka) Set up test properties for an<Integer, String>
consumer.KafkaTestUtils.producerProps
(EmbeddedKafkaBroker embeddedKafka) Set up test properties for an<Integer, String>
producer.