Interface PulsarMessageRecovererFactory<T>
- Type Parameters:
T- message type
- All Known Implementing Classes:
PulsarDeadLetterPublishingRecoverer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory interface for
PulsarMessageRecoverer.- Author:
- Soby Chacko, Chris Bono
-
Method Summary
Modifier and TypeMethodDescriptionrecovererForConsumer(org.apache.pulsar.client.api.Consumer<T> consumer) Provides a message recovererPulsarMessageRecoverer.
-
Method Details
-
recovererForConsumer
Provides a message recovererPulsarMessageRecoverer.- Parameters:
consumer- Pulsar consumer- Returns:
PulsarMessageRecoverer.
-