public enum ProducerMetricEnum extends java.lang.Enum<ProducerMetricEnum>
Enum Constant and Description |
---|
RECORD_BATCH_SIZE_AVG
ProducerMetricEnum per clientId which gets the average batch size
|
RECORD_BATCH_SIZE_MAX
ProducerMetricEnum per clientId which gets the max batch size
|
RECORD_BYTE_RATE_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the average bytes sent
|
RECORD_BYTE_TOTAL_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the total bytes sent
|
RECORD_ERROR_RATE
ProducerMetricEnum per clientId which gets the average error
|
RECORD_ERROR_RATE_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the average error
|
RECORD_ERROR_TOTAL
ProducerMetricEnum per clientId which gets the total error
|
RECORD_ERROR_TOTAL_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the total errors
|
RECORD_SEND_RATE
ProducerMetricEnum per clientId which gets the average records sent
|
RECORD_SEND_RATE_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the average records sent
|
RECORD_SEND_TOTAL
ProducerMetricEnum per clientId which gets the total records sent
|
RECORD_SEND_TOTAL_PER_TOPIC
ProducerMetricEnum per clientId and topic which gets the total records sent
|
RECORD_SIZE_AVG
ProducerMetricEnum per clientId which gets the average record size
|
RECORD_SIZE_MAX
ProducerMetricEnum per clientId which gets the max record size
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Gets the error message for the ProducerMetricEnum instance
|
java.lang.String |
getName()
Gets the error message for the ProducerMetricEnum instance
|
static ProducerMetricEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProducerMetricEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerMetricEnum RECORD_BATCH_SIZE_MAX
public static final ProducerMetricEnum RECORD_BATCH_SIZE_AVG
public static final ProducerMetricEnum RECORD_SEND_TOTAL
public static final ProducerMetricEnum RECORD_SEND_RATE
public static final ProducerMetricEnum RECORD_SIZE_AVG
public static final ProducerMetricEnum RECORD_SIZE_MAX
public static final ProducerMetricEnum RECORD_ERROR_TOTAL
public static final ProducerMetricEnum RECORD_ERROR_RATE
public static final ProducerMetricEnum RECORD_SEND_TOTAL_PER_TOPIC
public static final ProducerMetricEnum RECORD_SEND_RATE_PER_TOPIC
public static final ProducerMetricEnum RECORD_ERROR_TOTAL_PER_TOPIC
public static final ProducerMetricEnum RECORD_ERROR_RATE_PER_TOPIC
public static final ProducerMetricEnum RECORD_BYTE_TOTAL_PER_TOPIC
public static final ProducerMetricEnum RECORD_BYTE_RATE_PER_TOPIC
public static ProducerMetricEnum[] values()
for (ProducerMetricEnum c : ProducerMetricEnum.values()) System.out.println(c);
public static ProducerMetricEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String getError()