Index

A B C D E F G H J K L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addTopics(String...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Add topics to the existing broker(s) using the configured number of partitions.
addTopics(String...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Add topics to the existing broker(s) using the configured number of partitions.
addTopics(NewTopic...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Add topics to the existing broker(s).
addTopics(NewTopic...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Add topics to the existing broker(s).
addTopicsWithResults(String...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Add topics to the existing broker(s) using the configured number of partitions.
addTopicsWithResults(String...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Add topics to the existing broker(s) using the configured number of partitions.
addTopicsWithResults(NewTopic...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Add topics to the existing broker(s) and returning a map of results.
addTopicsWithResults(NewTopic...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Add topics to the existing broker(s) and returning a map of results.
adjustLogLevels(String, List<Class<?>>, List<String>, Level) - Static method in class org.springframework.kafka.test.utils.JUnitUtils
 
adminTimeout() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
Timeout in seconds for admin operations (e.g.
adminTimeout(int) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Set the timeout in seconds for admin operations (e.g.
adminTimeout(int) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
afterAll(ExtensionContext) - Method in class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 
afterAll(ExtensionContext) - Method in class org.springframework.kafka.test.condition.LogLevelsCondition
 
afterEach(ExtensionContext) - Method in class org.springframework.kafka.test.condition.LogLevelsCondition
 
afterPropertiesSet() - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
afterPropertiesSet() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.kafka.test.rule.Log4j2LevelAdjuster
 

B

BEAN_NAME - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
beforeAll(ExtensionContext) - Method in class org.springframework.kafka.test.condition.LogLevelsCondition
 
beforeEach(ExtensionContext) - Method in class org.springframework.kafka.test.condition.LogLevelsCondition
 
bootstrapServersProperty() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
The property name to set with the bootstrap server addresses as well as the default "spring.embedded.kafka.brokers".
BROKER_LIST_PROPERTY - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Set the value of this property to a property name that should be set to the list of embedded broker addresses instead of "spring.embedded.kafka.brokers".
BROKER_LIST_PROPERTY - Static variable in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Set the value of this property to a property name that should be set to the list of embedded broker addresses instead of "spring.embedded.kafka.brokers".
BROKER_NEEDED - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
BROKER_PROPERTIES_LOCATION_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The location for a properties file with Kafka broker configuration.
BrokerAddress - Class in org.springframework.kafka.test.core
Encapsulates the address of a Kafka broker.
BrokerAddress(String) - Constructor for class org.springframework.kafka.test.core.BrokerAddress
 
BrokerAddress(String, int) - Constructor for class org.springframework.kafka.test.core.BrokerAddress
 
BrokerAddress(BrokerEndPoint) - Constructor for class org.springframework.kafka.test.core.BrokerAddress
 
brokerListProperty(String) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Set the system property with this name to the list of broker addresses.
brokerListProperty(String) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Set the system property with this name to the list of broker addresses.
brokerProperties() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
Properties in form key=value that should be added to the broker config before runs.
brokerProperties(Map<String, String>) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Specify the properties to configure Kafka Broker before start, e.g.
brokerProperties(Map<String, String>) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Specify the properties to configure Kafka Broker before start, e.g.
brokerPropertiesLocation() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
Spring Resource url specifying the location of properties that should be added to the broker config.
brokerProperty(String, Object) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Specify a broker property.

C

categories() - Element in annotation interface org.springframework.kafka.test.condition.LogLevels
Category names representing Log4j or Logback categories to change.
categories(String...) - Method in class org.springframework.kafka.test.rule.Log4j2LevelAdjuster
 
classes() - Element in annotation interface org.springframework.kafka.test.condition.LogLevels
Classes representing Log4j categories to change.
consumeFromAllEmbeddedTopics(Consumer<?, ?>) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to all the embedded topics.
consumeFromAllEmbeddedTopics(Consumer<?, ?>) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to all the embedded topics.
consumeFromAllEmbeddedTopics(Consumer<?, ?>, boolean) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to all the embedded topics.
consumeFromAllEmbeddedTopics(Consumer<?, ?>, boolean) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to all the embedded topics.
consumeFromAnEmbeddedTopic(Consumer<?, ?>, boolean, String) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to one of the embedded topics.
consumeFromAnEmbeddedTopic(Consumer<?, ?>, boolean, String) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to one of the embedded topics.
consumeFromAnEmbeddedTopic(Consumer<?, ?>, String) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to one of the embedded topics.
consumeFromAnEmbeddedTopic(Consumer<?, ?>, String) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to one of the embedded topics.
consumeFromEmbeddedTopics(Consumer<?, ?>, boolean, String...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to one or more of the embedded topics.
consumeFromEmbeddedTopics(Consumer<?, ?>, boolean, String...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to one or more of the embedded topics.
consumeFromEmbeddedTopics(Consumer<?, ?>, String...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Subscribe a consumer to one or more of the embedded topics.
consumeFromEmbeddedTopics(Consumer<?, ?>, String...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Subscribe a consumer to one or more of the embedded topics.
consumerProps(String, String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for an <Integer, String> consumer.
consumerProps(String, String, String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for an <Integer, String> consumer.
consumerProps(String, String, EmbeddedKafkaBroker) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for an <Integer, String> consumer.
ConsumerRecordKeyCondition(K) - Constructor for class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordKeyCondition
 
ConsumerRecordKeyMatcher(K) - Constructor for class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordKeyMatcher
 
ConsumerRecordKeyValueCondition(K, V) - Constructor for class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordKeyValueCondition
 
ConsumerRecordPartitionCondition(int) - Constructor for class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordPartitionCondition
 
ConsumerRecordPartitionMatcher(int) - Constructor for class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher
 
ConsumerRecordTimestampCondition(TimestampType, long) - Constructor for class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordTimestampCondition
 
ConsumerRecordTimestampMatcher(TimestampType, long) - Constructor for class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordTimestampMatcher
 
ConsumerRecordValueCondition(V) - Constructor for class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordValueCondition
 
ConsumerRecordValueMatcher(V) - Constructor for class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordValueMatcher
 
ContainerTestUtils - Class in org.springframework.kafka.test.utils
Utilities for testing listener containers.
controlledShutdown() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
 
count() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
 
COUNT_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The number of brokers for EmbeddedKafkaBroker.
create(EmbeddedKafka) - Static method in class org.springframework.kafka.test.EmbeddedKafkaBrokerFactory
Create an EmbeddedKafkaBroker based on the EmbeddedKafka annotation.
create(EmbeddedKafka, Function<String, String>) - Static method in class org.springframework.kafka.test.EmbeddedKafkaBrokerFactory
Create an EmbeddedKafkaBroker based on the EmbeddedKafka annotation.

D

DEFAULT_ADMIN_TIMEOUT - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
DEFAULT_ADMIN_TIMEOUT - Static variable in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
DEFAULT_PORT - Static variable in class org.springframework.kafka.test.core.BrokerAddress
 
defaultPropertyOverrides() - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Return a Properties object equal to the default consumer property overrides.
describeTo(Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordKeyMatcher
 
describeTo(Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher
 
describeTo(Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordTimestampMatcher
 
describeTo(Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordValueMatcher
 
destroy() - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
destroy() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
doWithAdmin(Consumer<AdminClient>) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Create an AdminClient; invoke the callback and reliably close the admin.
doWithAdminFunction(Function<AdminClient, T>) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Create an AdminClient; invoke the callback and reliably close the admin.

E

EmbeddedKafka - Annotation Interface in org.springframework.kafka.test.context
Annotation that can be specified on a test class that runs Spring for Apache Kafka based tests.
EmbeddedKafkaBroker - Interface in org.springframework.kafka.test
 
EmbeddedKafkaBrokerFactory - Class in org.springframework.kafka.test
The factory to encapsulate an EmbeddedKafkaBroker creation logic.
EmbeddedKafkaCondition - Class in org.springframework.kafka.test.condition
JUnit5 condition for an embedded broker.
EmbeddedKafkaCondition() - Constructor for class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 
EmbeddedKafkaKraftBroker - Class in org.springframework.kafka.test
An embedded Kafka Broker(s) using KRaft.
EmbeddedKafkaKraftBroker(int, int, String...) - Constructor for class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Create embedded Kafka brokers listening on random ports.
equals(Object) - Method in class org.springframework.kafka.test.core.BrokerAddress
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.kafka.test.condition.LogLevelsCondition
 

F

fromAddress(String) - Static method in class org.springframework.kafka.test.core.BrokerAddress
 

G

getBroker() - Static method in class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 
getBrokersAsString() - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Get the bootstrap server addresses as a String.
getBrokersAsString() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
getCluster() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
getCurrentOffset(String, String, String, int) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Get the current offset and metadata for the provided group/topic/partition.
getCurrentOffset(AdminClient, String, String, int) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Get the current offset and metadata for the provided group/topic/partition.
getEndOffsets(Consumer<?, ?>, String, Integer...) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Return the end offsets of the requested topic/partitions
getHost() - Method in class org.springframework.kafka.test.core.BrokerAddress
 
getOneRecord(String, String, String, int, boolean, boolean, Duration) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Get a single record for the group from the topic/partition.
getPartitionsPerTopic() - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Get the configured number of partitions per topic.
getPartitionsPerTopic() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
getPort() - Method in class org.springframework.kafka.test.core.BrokerAddress
 
getPropertyValue(Object, String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Uses nested DirectFieldAccessors to obtain a property using dotted notation to traverse fields; e.g.
getPropertyValue(Object, String, Class<T>) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
getRecords(Consumer<K, V>) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Poll the consumer for records.
getRecords(Consumer<K, V>, Duration) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Poll the consumer for records.
getRecords(Consumer<K, V>, Duration, int) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Poll the consumer for records.
getSingleRecord(Consumer<K, V>, String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Poll the consumer, expecting a single record for the specified topic.
getSingleRecord(Consumer<K, V>, String, Duration) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Poll the consumer, expecting a single record for the specified topic.
getTopics() - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Get the topics.
getTopics() - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
 
GlobalEmbeddedKafkaTestExecutionListener - Class in org.springframework.kafka.test.junit
The TestExecutionListener to start an EmbeddedKafkaBroker in the beginning of the test plan and stop in the end.
GlobalEmbeddedKafkaTestExecutionListener() - Constructor for class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
 

H

hashCode() - Method in class org.springframework.kafka.test.core.BrokerAddress
 
hasKey(K) - Static method in class org.springframework.kafka.test.hamcrest.KafkaMatchers
 
hasPartition(int) - Static method in class org.springframework.kafka.test.hamcrest.KafkaMatchers
 
hasTimestamp(long) - Static method in class org.springframework.kafka.test.hamcrest.KafkaMatchers
Matcher testing the timestamp of a ConsumerRecord assuming the topic has been set with CreateTime.
hasTimestamp(TimestampType, long) - Static method in class org.springframework.kafka.test.hamcrest.KafkaMatchers
Matcher testing the timestamp of a ConsumerRecord
hasValue(V) - Static method in class org.springframework.kafka.test.hamcrest.KafkaMatchers
 

J

JUnitUtils - Class in org.springframework.kafka.test.utils
Utility methods for JUnit rules and conditions.
JUnitUtils.LevelsContainer - Class in org.springframework.kafka.test.utils
 

K

KafkaConditions - Class in org.springframework.kafka.test.assertj
AssertJ custom Conditions.
KafkaConditions.ConsumerRecordKeyCondition<K> - Class in org.springframework.kafka.test.assertj
 
KafkaConditions.ConsumerRecordKeyValueCondition<K,V> - Class in org.springframework.kafka.test.assertj
 
KafkaConditions.ConsumerRecordPartitionCondition - Class in org.springframework.kafka.test.assertj
 
KafkaConditions.ConsumerRecordTimestampCondition - Class in org.springframework.kafka.test.assertj
 
KafkaConditions.ConsumerRecordValueCondition<V> - Class in org.springframework.kafka.test.assertj
 
KafkaMatchers - Class in org.springframework.kafka.test.hamcrest
Hamcrest Matchers utilities.
KafkaMatchers.ConsumerRecordKeyMatcher<K> - Class in org.springframework.kafka.test.hamcrest
 
KafkaMatchers.ConsumerRecordPartitionMatcher - Class in org.springframework.kafka.test.hamcrest
 
KafkaMatchers.ConsumerRecordTimestampMatcher - Class in org.springframework.kafka.test.hamcrest
 
KafkaMatchers.ConsumerRecordValueMatcher<V> - Class in org.springframework.kafka.test.hamcrest
 
kafkaPorts(int...) - Method in interface org.springframework.kafka.test.EmbeddedKafkaBroker
Set explicit ports on which the kafka brokers will listen.
kafkaPorts(int...) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
IMPORTANT: It is not possible to configure custom ports when using KRaft based EmbeddedKafka.
KafkaTestUtils - Class in org.springframework.kafka.test.utils
Kafka testing utilities.
key(K) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 
keyValue(K, V) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 
KRAFT_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The number of partitions on topics to create on the embedded broker(s).

L

level() - Element in annotation interface org.springframework.kafka.test.condition.LogLevels
The Log4j level name to switch the categories to during the test.
LevelsContainer(Map<Class<?>, Level>, Map<String, Level>) - Constructor for class org.springframework.kafka.test.utils.JUnitUtils.LevelsContainer
 
LISTENER_ENABLED_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
Property name used to enable the GlobalEmbeddedKafkaTestExecutionListener.
Log4j2LevelAdjuster - Class in org.springframework.kafka.test.rule
A JUnit method @Rule that changes the logger level for a set of classes while a test method is running.
Log4j2LevelAdjuster(Level, Class<?>...) - Constructor for class org.springframework.kafka.test.rule.Log4j2LevelAdjuster
 
LogLevels - Annotation Interface in org.springframework.kafka.test.condition
Test classes annotated with this will change logging levels between tests.
LogLevelsCondition - Class in org.springframework.kafka.test.condition
JUnit condition that adjusts and reverts log levels before/after each test.
LogLevelsCondition() - Constructor for class org.springframework.kafka.test.condition.LogLevelsCondition
 
LOOPBACK - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 

M

matches(Object, Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordKeyMatcher
 
matches(Object, Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher
 
matches(Object, Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordTimestampMatcher
 
matches(Object, Description) - Method in class org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordValueMatcher
 
matches(ConsumerRecord<?, ?>) - Method in class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordPartitionCondition
 
matches(ConsumerRecord<?, ?>) - Method in class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordTimestampCondition
 
matches(ConsumerRecord<?, V>) - Method in class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordValueCondition
 
matches(ConsumerRecord<K, ?>) - Method in class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordKeyCondition
 
matches(ConsumerRecord<K, V>) - Method in class org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordKeyValueCondition
 

O

org.springframework.kafka.test - package org.springframework.kafka.test
Provides top-level API for EmbeddedKafka.
org.springframework.kafka.test.assertj - package org.springframework.kafka.test.assertj
Provides a class for assertj conditions.
org.springframework.kafka.test.condition - package org.springframework.kafka.test.condition
Provides classes for JUnit5 conditions.
org.springframework.kafka.test.context - package org.springframework.kafka.test.context
Provides classes for EmbeddedKafka context customization.
org.springframework.kafka.test.core - package org.springframework.kafka.test.core
core package for spring-kafka-test module.
org.springframework.kafka.test.hamcrest - package org.springframework.kafka.test.hamcrest
Provides hamcrest matchers.
org.springframework.kafka.test.junit - package org.springframework.kafka.test.junit
Provides JUnit specific extensions in spring-kafka-test.
org.springframework.kafka.test.rule - package org.springframework.kafka.test.rule
Provides JUnit rules.
org.springframework.kafka.test.utils - package org.springframework.kafka.test.utils
Utils package.

P

parseBooleanProperty(String) - Static method in class org.springframework.kafka.test.utils.JUnitUtils
Return the parsed value if the provided property exists in the environment or system properties.
partition(int) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 
partitions() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
 
PARTITIONS_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The number of partitions on topics to create on the embedded broker(s).
ports() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
Set explicit ports on which the kafka brokers will listen.
PORTS_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The port(s) to expose embedded broker(s).
producerProps(String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for an <Integer, String> producer.
producerProps(EmbeddedKafkaBroker) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for an <Integer, String> producer.

R

resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 
revertLevels(String, JUnitUtils.LevelsContainer) - Static method in class org.springframework.kafka.test.utils.JUnitUtils
 

S

setAdminTimeout(int) - Method in class org.springframework.kafka.test.EmbeddedKafkaKraftBroker
Set the timeout in seconds for admin operations (e.g.
SPRING_EMBEDDED_KAFKA_BROKERS - Static variable in interface org.springframework.kafka.test.EmbeddedKafkaBroker
 
streamsProps(String, String) - Static method in class org.springframework.kafka.test.utils.KafkaTestUtils
Set up test properties for the Kafka Streams.
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.kafka.test.condition.EmbeddedKafkaCondition
 

T

testPlanExecutionFinished(TestPlan) - Method in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
 
timestamp(long) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 
timestamp(TimestampType, long) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 
topics() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
Topics that should be created Topics may contain property place holders, e.g.
TOPICS_PROPERTY_NAME - Static variable in class org.springframework.kafka.test.junit.GlobalEmbeddedKafkaTestExecutionListener
The topics to create on the embedded broker(s).
toString() - Method in class org.springframework.kafka.test.core.BrokerAddress
 

V

value() - Element in annotation interface org.springframework.kafka.test.context.EmbeddedKafka
 
value(V) - Static method in class org.springframework.kafka.test.assertj.KafkaConditions
 

W

waitForAssignment(Object, int) - Static method in class org.springframework.kafka.test.utils.ContainerTestUtils
Wait until the container has the required number of assigned partitions.
A B C D E F G H J K L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values