Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- after() - Method in class com.github.charithe.kafka.KafkaJunitRule
- afterEach(ExtensionContext) - Method in class com.github.charithe.kafka.KafkaJunitExtension
- ALLOCATE_RANDOM_PORT - Static variable in annotation type com.github.charithe.kafka.KafkaJunitExtensionConfig
B
- before() - Method in class com.github.charithe.kafka.KafkaJunitRule
- beforeAll(ExtensionContext) - Method in class com.github.charithe.kafka.KafkaJunitExtension
- beforeEach(ExtensionContext) - Method in class com.github.charithe.kafka.KafkaJunitExtension
C
- call() - Method in class com.github.charithe.kafka.KafkaHelper.RecordConsumer
- close() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
- com.github.charithe.kafka - package com.github.charithe.kafka
- connectionString() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
- consume(String, KafkaConsumer<K, V>, int) - Method in class com.github.charithe.kafka.KafkaHelper
-
Attempt to consume the specified number of messages
- consumerConfig() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a minimal consumer configuration with auto commit enabled.
- consumerConfig() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a minimal consumer configuration with auto commit enabled.
- consumerConfig() - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the consumer configuration (with auto-commit enabled)
- consumerConfig(boolean) - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a minimal consumer configuration.
- consumerConfig(boolean) - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a minimal consumer configuration.
- consumerConfig(boolean) - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the consumer configuration
- consumeStrings(String, int) - Method in class com.github.charithe.kafka.KafkaHelper
-
Consume specified number of string messages
- create() - Static method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a new ephemeral Kafka broker with random broker port and Zookeeper port
- create() - Static method in class com.github.charithe.kafka.KafkaJunitRule
- create(int) - Static method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a new ephemeral Kafka broker with the specified broker port and random Zookeeper port
- create(int) - Static method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a new ephemeral Kafka cluster
- create(int, int) - Static method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a new ephemeral Kafka broker with the specified broker port and Zookeeper port
- create(int, int) - Static method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a new ephemeral Kafka cluster with the specified Zookeeper port
- create(int, int, Properties) - Static method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a new ephemeral Kafka broker with the specified broker port, Zookeeper port and config overrides.
- create(int, int, Properties) - Static method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a new ephemeral Kafka cluster with the specified Zookeeper port and broker properties
- createByteConsumer() - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a consumer that reads bytes
- createByteConsumer(Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a consumer that reads bytes
- createByteProducer() - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a producer that writes byte keys and values
- createByteProducer(Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a producer that writes byte keys and values
- createConsumer(Deserializer<K>, Deserializer<V>, Properties) - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a consumer that can read from this broker
- createConsumer(Deserializer<K>, Deserializer<V>, Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a consumer that can read from this broker
- createFor(EphemeralKafkaBroker) - Static method in class com.github.charithe.kafka.KafkaHelper
- createProducer(Serializer<K>, Serializer<V>, Properties) - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a producer that can write to this broker
- createProducer(Serializer<K>, Serializer<V>, Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a producer that can write to this broker
- createStringConsumer() - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a consumer that reads strings
- createStringConsumer(Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a consumer that reads strings
- createStringProducer() - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a producer that writes String keys and values
- createStringProducer(Properties) - Method in class com.github.charithe.kafka.KafkaHelper
-
Create a producer that writes String keys and values
- createTopics(String...) - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
D
- DEFAULT - Enum constant in enum com.github.charithe.kafka.StartupMode
- dontWaitForStartup() - Method in class com.github.charithe.kafka.KafkaJunitRule
E
- EphemeralKafkaBroker - Class in com.github.charithe.kafka
- EphemeralKafkaCluster - Class in com.github.charithe.kafka
G
- getBrokerList() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Get the current broker list string
- getBrokers() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
- getKafkaPort() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Get the broker port
- getLogDir() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Get the path to the Kafka log directory
- getZookeeperConnectString() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Get the current Zookeeper connection string
- getZookeeperPort() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Get the Zookeeper port
H
- helper() - Method in class com.github.charithe.kafka.KafkaJunitRule
-
Obtain a
KafkaHelperthat provides a bunch of convenience methods
I
- isHealthy() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
- isRunning() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Is the broker running?
- isRunning() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
K
- KafkaHelper - Class in com.github.charithe.kafka
- KafkaHelper.RecordConsumer<K,
V> - Class in com.github.charithe.kafka - KafkaJunitExtension - Class in com.github.charithe.kafka
-
KafkaJunitExtensionprovides a kafka broker that is started and stopped for each test. - KafkaJunitExtension() - Constructor for class com.github.charithe.kafka.KafkaJunitExtension
- KafkaJunitExtensionConfig - Annotation Type in com.github.charithe.kafka
- KafkaJunitRule - Class in com.github.charithe.kafka
- KafkaJunitRule(EphemeralKafkaBroker) - Constructor for class com.github.charithe.kafka.KafkaJunitRule
- KafkaJunitRule(EphemeralKafkaBroker, StartupMode) - Constructor for class com.github.charithe.kafka.KafkaJunitRule
- kafkaPort() - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the broker listener port
- kafkaPort() - Element in annotation type com.github.charithe.kafka.KafkaJunitExtensionConfig
P
- produce(String, KafkaProducer<K, V>, Map<K, V>) - Method in class com.github.charithe.kafka.KafkaHelper
-
Produce data to the specified topic
- producerConfig() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
-
Create a minimal producer configuration that can be used to produce to this broker
- producerConfig() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
-
Create a minimal producer configuration that can be used to produce to this broker
- producerConfig() - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the producer configuration
- produceStrings(String, String...) - Method in class com.github.charithe.kafka.KafkaHelper
-
Convenience method to produce a set of strings to the specified topic
- propsFileName() - Element in annotation type com.github.charithe.kafka.KafkaJunitExtensionConfig
R
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.github.charithe.kafka.KafkaJunitExtension
S
- start() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
- startupMode() - Element in annotation type com.github.charithe.kafka.KafkaJunitExtensionConfig
- StartupMode - Enum in com.github.charithe.kafka
- stop() - Method in class com.github.charithe.kafka.EphemeralKafkaBroker
- stop() - Method in class com.github.charithe.kafka.EphemeralKafkaCluster
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.github.charithe.kafka.KafkaJunitExtension
V
- valueOf(String) - Static method in enum com.github.charithe.kafka.StartupMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.charithe.kafka.StartupMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WAIT_FOR_STARTUP - Enum constant in enum com.github.charithe.kafka.StartupMode
- waitForStartup() - Method in class com.github.charithe.kafka.KafkaJunitRule
Z
- zookeeperConnectionString() - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the zookeeper connection string
- zookeeperPort() - Method in class com.github.charithe.kafka.KafkaHelper
-
Get the zookeeper port
- zooKeeperPort() - Element in annotation type com.github.charithe.kafka.KafkaJunitExtensionConfig
All Classes and Interfaces|All Packages|Constant Field Values