class NumberConverter implements Converter, HeaderConverter {

    @Override
    public SchemaAndValue toConnectData(String topic, byte[] value) {
        try {
            return new SchemaAndValue(schema, deserializer.deserialize(topic, value));
        } catch (SerializationException e) {
            throw new DataException("Failed to deserialize " + typeName + ": ", e);
        }
    }

    protected  NumberConverter(String typeName, Schema schema, Serializer<T> serializer, Deserializer<T> deserializer);

}