Frameworks for kafka stream in nodejs?

Can you suggest a consumer config that keep consumer stable? because the speed is different from 5 consecutive call, it’s getting bigger, doesn’t even qualify for a stress test