change the consumer worker

add the config of worker to adjust various consume situation