Package org.apache.kafka.clients.admin
Class FinalizedVersionRange
java.lang.Object
org.apache.kafka.clients.admin.FinalizedVersionRange
Represents a range of version levels supported by every broker in a cluster for some feature.
-
Constructor Summary
ConstructorsConstructorDescriptionFinalizedVersionRange(short minVersionLevel, short maxVersionLevel) Raises an exception unless the following condition is met:minVersionLevel >= 1andmaxVersionLevel >= 1andmaxVersionLevel >= minVersionLevel. -
Method Summary
-
Constructor Details
-
FinalizedVersionRange
public FinalizedVersionRange(short minVersionLevel, short maxVersionLevel) Raises an exception unless the following condition is met:minVersionLevel >= 1andmaxVersionLevel >= 1andmaxVersionLevel >= minVersionLevel.- Parameters:
minVersionLevel- The minimum version level value.maxVersionLevel- The maximum version level value.- Throws:
IllegalArgumentException- Raised when the condition described above is not met.
-
-
Method Details