Interface StreamListener<K,V extends Record<K,?>>
- Type Parameters:
K
- Stream key and Stream field type.V
- Stream value type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener interface to receive delivery of
messages
.- Since:
- 2.2
- Author:
- Mark Paluch
-
Method Summary
-
Method Details
-
onMessage
Callback invoked on receiving aRecord
.- Parameters:
message
- never null.
-