code: public <T extends Serializer<?> & Serializable>void registerTypeWithKryoSerializer(Class<?> type, T serializer) {
  		config.registerTypeWithKryoSerializer(type, serializer);
  	}
docs: Registers the given type with a Kryo Serializer.
  
  <p>Note that the serializer instance must be serializable (as defined by
  java.io.Serializable), because it may be distributed to the worker nodes
  by java serialization.
  
  @param type
  The class of the types serialized with the given serializer.
  @param serializer
  The serializer to use.