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 TypeMethodDescriptionEmbeddedKafkaKraftBroker.adminTimeout
(int adminTimeout) Set the timeout in seconds for admin operations (e.g.EmbeddedKafkaZKBroker.adminTimeout
(int adminTimeout) Set the timeout in seconds for admin operations (e.g.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.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.