Index
All Classes and Interfaces|All Packages
A
- additionalConfiguration(Map<String, Object>) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Gives additional broker configuration options.
- additionalConfigurationProvider(K3aEmbedded.AdditionalConfigurationProvider) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Sets up an
AdditionalConfigurationProviderthat will be called after every other configuration has been settled. - additionalListenerWithFixedPort(String, String, int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Adds an extra listener.
- additionalListenerWithPortIndex(String, String, int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Adds an extra listener bound to a random port.
- additionalPorts(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Allocates additional, random ports that may be used to set up extra listeners beyond the default.
- adminProps(String) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for an admin client.
- adminProps(K3aEmbedded) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for admin client.
B
- brokerPort(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Assigns a fixed port to the broker listener.
- build() - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Builds a
K3aEmbeddedinstance based on builder settings. - Builder() - Constructor for class no.shhsoft.k3aembedded.K3aEmbedded.Builder
C
- consumerProps(String, boolean, K3aEmbedded) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for an
<Integer, String>consumer. - consumerProps(String, String, boolean) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for an
<Integer, String>consumer. - controllerPort(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Assigns a fixed port to the controller listener.
G
- getAdditionalConfiguration() - Method in interface no.shhsoft.k3aembedded.K3aEmbedded.AdditionalConfigurationProvider
- getAdditionalPort(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded
-
Determines the real port value for one of the additional, random ports allocated through
Builder.additionalPorts. - getBootstrapServers() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
- getBootstrapServersForAdditionalPort(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded
-
Determines the bootstrap server string for one of the additional listeners.
- getBrokerPort() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
- getControllerPort() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
- getZooKeeperPort() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
K
- K3aEmbedded - Class in no.shhsoft.k3aembedded
-
A class that will run a Kafka broker, and optionally a ZooKeeper in the current VM.
- K3aEmbedded.AdditionalConfigurationProvider - Interface in no.shhsoft.k3aembedded
-
Implementors of this interface may provide additional broker configuration.
- K3aEmbedded.Builder - Class in no.shhsoft.k3aembedded
-
Builder for
K3aEmbeddedinstances. - K3aTestUtils - Class in no.shhsoft.k3aembedded
-
Helper methods for writing tests using
K3aEmbedded. - kraftMode(boolean) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Specifies whether to use KRaft mode.
N
- no.shhsoft.k3aembedded - package no.shhsoft.k3aembedded
P
- producerProps(String) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for an
<Integer, String>producer. - producerProps(K3aEmbedded) - Static method in class no.shhsoft.k3aembedded.K3aTestUtils
-
Set up test properties for an
<Integer, String>producer.
S
- start() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
-
Starts the Kafka broker according to specification from the
Builder. - stop() - Method in class no.shhsoft.k3aembedded.K3aEmbedded
-
Stops the running Kafka broker (and ZooKeeper, if enabled).
Z
- zooKeeperPort(int) - Method in class no.shhsoft.k3aembedded.K3aEmbedded.Builder
-
Assigns a fixed port to the controller ZooKeeper.
All Classes and Interfaces|All Packages