taosdata/TDengine

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

オープン

#24,857 opened on 2024/02/23

 (5 件のコメント) (0 件のリアクション) (1 人の担当者)C (5,002 件のフォーク)batch import
help wantedquestion

Repository metrics

Stars
 (24,849 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド