| Interface | Description |
|---|---|
| ConsumerRecordHandler<K,V> |
A handler to handle all the consumer records consumed from Kafka broker.
|
| Class | Description |
|---|---|
| CatchAllExceptionConsumerRecordHandler<K,V> |
A wrapper over a
ConsumerRecordHandler to catch and swallow all the exceptions throw from the
wrapped ConsumerRecordHandler when it failed to handle a consumed record. |
| LcKafkaConsumer<K,V> |
LcKafkaConsumer is a wrapper over Consumer. |
| LcKafkaConsumerBuilder<K,V> |
A builder used to create a
LcKafkaConsumer which uses a KafkaConsumer to consume records
from Kafka broker. |
| NamedThreadFactory |
Internal use only, may change in the future.
|
| RetriableConsumerRecordHandler<K,V> |
A wrapper over a
ConsumerRecordHandler to let the wrapped ConsumerRecordHandler try to handle a
record in a limited times in case the handling process failed. |
| Enum | Description |
|---|---|
| ConsumerSeekDestination |
The destination for a consumer reset offset operation.
|
| UnsubscribedStatus |
A status of
LcKafkaConsumer when it unsubscribed to all the topics that have subscribed to. |
| Exception | Description |
|---|---|
| HandleMessageFailedException |
Thrown by
ConsumerRecordHandler) when the record handler failed to handle a ConsumerRecord. |
| Annotation Type | Description |
|---|---|
| NonNullByDefault |
An annotation that signifies the return values, parameters and fields are non-nullable by default
leveraging the JSR-305
Nonnull annotation. |
| VisibleForTesting |
Indicates that the visibility of a type or member has been relaxed to make the code testable.
|
Copyright © 2020 LeanCloud. All rights reserved.