You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yu285
changed the title
数据订阅#不清楚每次consumer的poll操作需要执行多少次
It is not clear how many times each consumer poll operation needs to be performed
Feb 25, 2024
注释部分代码是原来直接判断如果poll返回数据是空,直接跳出循环。
发现总是得不到订阅数据。
改成200次poll,结果发现times在114的时候,获取到结果。当然,大部分时候是第一次就能获取到结果。
这个太难理解,如果200次完了都没有poll到呢。
有没有更好的方法呢。
The text was updated successfully, but these errors were encountered: