Package com.bakdata.kafka
Interface HasCleanHook<SELF>
- Type Parameters:
SELF
- self for chaining
- All Known Implementing Classes:
ProducerCleanUpConfiguration
,StreamsCleanUpConfiguration
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for performing actions when cleaning apps
-
Method Summary
Modifier and TypeMethodDescriptionregisterCleanHook
(Runnable hook) Register a hook that is invoked when cleaning apps
-
Method Details
-
registerCleanHook
Register a hook that is invoked when cleaning apps- Parameters:
hook
- factory to create hook from- Returns:
- self for chaining
-