Setting MAX_VALUE is sort of a synchronous message consuming, waiting forever until we got something returned back from the poll, while setting to a lower value gives you a chance that you can decide to do something else other than awaiting. Which should be used depends on your actual scenario.
kafka consumer polling timeout
最新推荐文章于 2023-01-28 10:31:34 发布