Generate config for react-router-config based on directory architecture
Control batch size for kafkajs consumers