Util to create an external source from a simple lambda function.
The function that takes a Key and return a factory.