taosdata/TDengine

It is not clear how many times each consumer poll operation needs to be performed

Open

#24.857 aperta il 23 feb 2024

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)C (5002 fork)batch import
help wantedquestion

Metriche repository

Star
 (24.849 star)
Metriche merge PR
 (Merge medio 1g 1h) (4 PR mergiate in 30 g)

Descrizione

subscription_problem 注释部分代码是原来直接判断如果poll返回数据是空,直接跳出循环。 发现总是得不到订阅数据。 改成200次poll,结果发现times在114的时候,获取到结果。当然,大部分时候是第一次就能获取到结果。 这个太难理解,如果200次完了都没有poll到呢。 有没有更好的方法呢。

Guida contributor