Introduce default rows limit in addition to max rows.  Default is 1k.

Use `scala.util.Try`, it will be much more compact:

    Try(config.getInt(k("default-rows-limit")).getOrElse(1000)

Better yet, use a reference.conf with default values, then you centralize the default values in one place instead of in code.