T- Type to be deserialized into. A class that implements this interface is expected to have a constructor with no parameter.
ClusterResourceListener to receive cluster metadata once it's available. Please see the class documentation for ClusterResourceListener for more information.
public interface Deserializer<T> extends Closeable
configs- configs in key/value pairs
isKey- whether is for key or value
topic- topic associated with the data
data- serialized bytes; may be null; implementations are recommended to handle null by returning a value or null rather than throwing an exception.