producer updated to support external config