T- Type to be serialized from. 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 Serializer<T> extends Closeable
configs- configs in key/value pairs
isKey- whether is for key or value
topic- topic associated with data
data- typed data