
io.kroxylicious.testing.kafka.common.Version Maven / Gradle / Ivy
/*
* 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.common;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import io.kroxylicious.testing.kafka.api.KafkaClusterConstraint;
/**
* The interface Version.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.PARAMETER })
@KafkaClusterConstraint
public @interface Version {
/** The latest release made by the kafka-native project. */
String LATEST_RELEASE = "latest";
/** The latest development snapshot created by kafka-native project's main build. */
String LATEST_SNAPSHOT = "latest-snapshot";
/**
* The value of the version, for instance, 3.6.0. The value {@code LATEST_RELEASE} or {@code LATEST_SNAPSHOT}
* may also be used.
*
* @return the version
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy