public interface ConsumerMonitor
Modifier and Type | Method and Description |
---|---|
void |
consumerError(Consumer consumer,
String type,
String message)
A consumer error event.
|
void |
consumerInfo(Consumer consumer,
String message)
A consumer informational event.
|
void |
consumerWarning(Consumer consumer,
String type,
String message)
A consumer warning event.
|
void consumerError(Consumer consumer, String type, String message)
consumer
- the consumer that caused the error.type
- the type of error.message
- the message about the error.void consumerWarning(Consumer consumer, String type, String message)
consumer
- the consumer that caused the warning.type
- the type of warning.message
- the message about the warning.void consumerInfo(Consumer consumer, String message)
consumer
- the consumer that caused the informational message.message
- the message.Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.