Package ch.memobase.kafka.utils.models
Class ValueWithKey<T>
java.lang.Object
ch.memobase.kafka.utils.models.ValueWithKey<T>
- Type Parameters:
T
- Type of message value
Helper class used when a message key should replaced with another key without loosing the value of the original key
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueWithKey
-
-
Method Details
-
getKey
-
hasKey
public boolean hasKey() -
getValue
-
setValue
-
hasValue
public boolean hasValue()
-