Search in sources :

Example 1 with EmbeddedKafkaCluster

use of org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster in project registry by hortonworks.

the class KafkaAvroSerDesWithKafkaServerTest method beforeParam.

@CustomParameterizedRunner.BeforeParam
public static void beforeParam(SchemaRegistryTestProfileType schemaRegistryTestProfileType) throws Exception {
    SCHEMA_REGISTRY_TEST_SERVER_CLIENT_WRAPPER = new SchemaRegistryTestServerClientWrapper(schemaRegistryTestProfileType);
    SCHEMA_REGISTRY_TEST_SERVER_CLIENT_WRAPPER.startTestServer();
    CLUSTER = new EmbeddedKafkaCluster(1);
    CLUSTER.start();
}
Also used : SchemaRegistryTestServerClientWrapper(com.hortonworks.registries.schemaregistry.avro.helper.SchemaRegistryTestServerClientWrapper) EmbeddedKafkaCluster(org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster)

Aggregations

SchemaRegistryTestServerClientWrapper (com.hortonworks.registries.schemaregistry.avro.helper.SchemaRegistryTestServerClientWrapper)1 EmbeddedKafkaCluster (org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster)1