public enum ProducerDownReason extends Enum<ProducerDownReason>
| Enum Constant and Description | 
|---|
AliveIntervalViolation
Indicates that the Producer was marked down because the interval
 between alive messages was greater than allowed. 
 | 
ConnectionDown
Indicates that the Producer was marked down dispatched due to the loss of connection
 to the server. 
 | 
Other
Indicates that the Producer was marked down due to information received
 from the feed. 
 | 
ProcessingQueueDelayViolation
Indicates that the Producer was marked down because the time frame between the message generation
 and the message processing completion was exceeded. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ProducerStatusReason | 
asProducerStatusReason()  | 
static ProducerDownReason | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ProducerDownReason[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ProducerDownReason AliveIntervalViolation
public static final ProducerDownReason ProcessingQueueDelayViolation
public static final ProducerDownReason Other
public static final ProducerDownReason ConnectionDown
public static ProducerDownReason[] values()
for (ProducerDownReason c : ProducerDownReason.values()) System.out.println(c);
public static ProducerDownReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ProducerStatusReason asProducerStatusReason()
Copyright © 2016–2025. All rights reserved.