Uses of Interface
org.springframework.kafka.test.EmbeddedKafkaBroker
Package
Description
Provides classes for JUnit5 conditions.
-
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test
Modifier and TypeClassDescriptionclass
An embedded Kafka Broker(s) using KRaft.class
An embedded Kafka Broker(s) and Zookeeper manager.Modifier and TypeMethodDescriptionEmbeddedKafkaBroker.adminTimeout
(int adminTimeout) Set the timeout in seconds for admin operations (e.g.EmbeddedKafkaKraftBroker.adminTimeout
(int adminTimeout) EmbeddedKafkaZKBroker.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.EmbeddedKafkaZKBroker.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.EmbeddedKafkaZKBroker.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.EmbeddedKafkaZKBroker.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
-
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test.rule
Modifier and TypeMethodDescriptionEmbeddedKafkaRule.getEmbeddedKafka()
Return an underlying delegatorEmbeddedKafkaBroker
instance. -
Uses of EmbeddedKafkaBroker in org.springframework.kafka.test.utils
Modifier 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.