Package org.apache.kafka.streams.kstream
Interface ValueJoiner<V1,V2,VR>
- Type Parameters:
V1- first value typeV2- second value typeVR- joined value type
public interface ValueJoiner<V1,V2,VR>
The
ValueJoiner interface for joining two values into a new value of arbitrary type.
This is a stateless operation, i.e, apply(Object, Object) is invoked individually for each joining
record-pair of a KStream-KStream, KStream-KTable, or KTable-KTable
join.- See Also:
-
Method Summary
-
Method Details
-
apply
Return a joined value consisting ofvalue1andvalue2.- Parameters:
value1- the first value for joiningvalue2- the second value for joining- Returns:
- the joined value
-