class ValueAndTimestampSerializer implements Serializer<ValueAndTimestamp<V>> {

    @Override
    public byte[] serialize(final String topic,
                            final ValueAndTimestamp<V> data) {
        if (data == null) {
            return null;
        }
        return serialize(topic, data.value(), data.timestamp());
    }

      ValueAndTimestampSerializer(final Serializer<V> valueSerializer);

}