net.manub.embeddedkafka.schemaregistry
Returns a map of configuration to grant Schema Registry support.
Returns a map of configuration to grant Schema Registry support.
an implicit EmbeddedKafkaConfig.
Returns a map of Kafka Consumer configuration to grant Schema Registry support.
Returns a map of Kafka Consumer configuration to grant Schema Registry support.
an implicit EmbeddedKafkaConfig.
Starts a ZooKeeper instance and a Kafka broker in memory, using temporary directories for storing logs.
Starts a ZooKeeper instance and a Kafka broker in memory, using temporary directories for storing logs. Also starts a Schema Registry app. The log directories will be cleaned after calling the stop() method or on JVM exit, whichever happens earlier.
an implicit EmbeddedKafkaConfig
Stops a specific EmbeddedServer instance, and deletes the log directory.
Stops a specific EmbeddedServer instance, and deletes the log directory.
the EmbeddedServer to be stopped.
Stops all in memory ZooKeeper instances, Kafka brokers, Schema Registry apps, and deletes the log directories.
Stops all in memory Schema Registry instances.
Starts a ZooKeeper instance, a Kafka broker and a Schema Registry app, then executes the body passed as a parameter.
Starts a ZooKeeper instance, a Kafka broker and a Schema Registry app, then executes the body passed as a parameter.
the function to execute
an implicit EmbeddedKafkaConfig
Starts a ZooKeeper instance, a Kafka broker and a Schema Registry app, then executes the body passed as a parameter.
Starts a ZooKeeper instance, a Kafka broker and a Schema Registry app, then executes the body passed as a parameter. The actual ZooKeeper, Kafka, and Schema Registry ports will be detected and inserted into a copied version of the EmbeddedKafkaConfig that gets passed to body. This is useful if you set any port to 0, which will listen on an arbitrary available port.
the user-defined EmbeddedKafkaConfig
the function to execute, given an EmbeddedKafkaConfig with the actual ports Kafka, ZooKeeper, and Schema Registry are running on