Hernan.quickfix.disabling on app config

It defaults to disabled? Then you need:

case application:get_env(kafkerl, disabled, true) of
     true -> [];
     false -> ...
end

And let it crash if it's not one of those two values.