Make kafka runnable more generic.
Added support for lookup running apps.