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
ConstructorDescriptionFinalizedVersionRange
(short minVersionLevel, short maxVersionLevel) Raises an exception unless the following condition is met:minVersionLevel >= 1
andmaxVersionLevel >= 1
andmaxVersionLevel >= minVersionLevel
. -
Method Summary
-
Constructor Details
-
FinalizedVersionRange
public FinalizedVersionRange(short minVersionLevel, short maxVersionLevel) Raises an exception unless the following condition is met:minVersionLevel >= 1
andmaxVersionLevel >= 1
andmaxVersionLevel >= 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