taosdata/TDengine
It is not clear how many times each consumer poll operation needs to be performed
Aperta
#24.857 aperta il 23 feb 2024
help wantedquestion
Metriche repository
- Star
- (24.849 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
注释部分代码是原来直接判断如果poll返回数据是空,直接跳出循环。
发现总是得不到订阅数据。
改成200次poll,结果发现times在114的时候,获取到结果。当然,大部分时候是第一次就能获取到结果。
这个太难理解,如果200次完了都没有poll到呢。
有没有更好的方法呢。