All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kroxylicious.testing.kafka.junit5ext.AmbiguousKafkaClusterException Maven / Gradle / Ivy

Go to download

Provides a JUnit5 extension for providing KafkaCluster implementations to tests and running tests over multiple cluster configurations.

There is a newer version: 0.9.1
Show newest version
/*
 * Copyright Kroxylicious Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.kroxylicious.testing.kafka.junit5ext;

import org.junit.jupiter.api.extension.ParameterResolutionException;

import io.kroxylicious.testing.kafka.api.KafkaCluster;

/**
 * Exception thrown when injecting a parameter whose owning {@link KafkaCluster} is ambiguous.
 * You can disambiguate the cluster using {@link Name} annotations.
 */
public class AmbiguousKafkaClusterException extends ParameterResolutionException {

    /**
     * Instantiates a new Ambiguous kafka cluster exception.
     *
     * @param message the message
     */
    public AmbiguousKafkaClusterException(String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy