THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public class DescribeEffectiveQuotasOptions {
// Whether to include the list of overridden values for every quota type in the result.
//
// Default: false.
DescribeQuotasOptions setOmitOverriddenValues(boolean omitOverriddenValues);
}
public class DescribeEffectiveQuotasResult {
/**
* Information about a specific quota configuration value.
*/
public class Value {
/**
* @param source the entity source for the value
* @param value the non-null value
*/
public Value(Map<QuotaEntity, String> source, Double value);
public Map<QuotaEntity, String> source();
public Double value();
}
/**
* Information about the value for a quota type.
*/
public class Entry {
/**
* @param value the active quota value
* @param overriddenValues all values that are overridden due to being lower in specificity,
* or null if not requested
*/
public Entry(Value value, List<Value> overriddenValues);
public Value value();
public List<Value> overriddenValues();
}
/**
* Maps a quota type to its configuration entry.
*/
public KafkaFuture<Map<QuotaType, Entry>> config();
}
public interface Admin extends AutoCloseable {
/**
* Describes the effective quotas for the provided entities.
*
* @param entities the entities to describe the effective quotas for
* @param options the options to use
* @return the effective quotas for the entities
*/
DescribeEffectiveQuotasResult describeEffectiveQuotas(Collection<QuotaEntity> entities,
DescribeEffectiveQuotasOptions options);
}
|
...