Interface ShareConsumerFactory.Listener<K,V>
- Type Parameters:
K- the key type.V- the value type.
- Enclosing interface:
ShareConsumerFactory<K,V>
public static interface ShareConsumerFactory.Listener<K,V>
Listener for share consumer lifecycle events.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidconsumerAdded(String id, org.apache.kafka.clients.consumer.ShareConsumer<K, V> consumer) A new consumer was created.default voidconsumerRemoved(@Nullable String id, org.apache.kafka.clients.consumer.ShareConsumer<K, V> consumer) An existing consumer was removed.
-
Method Details