Composer での ThingWorx モデルの定義 > システム > ログ > ストリームプロセッサログ
ストリームプロセッサログ
ストリームプロセッサのキューの容量の監視を容易にするために、ストリームプロセッサごとに新しい警告レベルのログが追加されます。これらの警告ログは、個々のキューの容量が 70% 以上になるとアプリケーションログに表示されるようになります。値ストリーム、データテーブル、およびストリームプロセッサの場合、キューが容量の上限に達すると、キューにエントリを追加しようとしても拒否されます。永続プロパティプロセッサの場合、もう一度キューにエントリを追加しようとし (プロデューサーのタイムアウトを使用して)、再試行のタイムアウトまでにエントリを追加できない場合、そのエントリは拒否されます。拒否されたエントリは、前述の新しい totalWritesRejected 判定基準に対してカウントされます。
これらのログ文の例を以下に示します。
PersistentPropertyProcessor
2022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #9 is currently 82.0 percent full that is at or above 70.0 percent threshold
82022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #11 is currently 82.0 percent full that is at or above 70.0 percent threshold
92022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #13 is currently 81.0 percent full that is at or above 70.0 percent threshold
102022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #14 is currently 82.0 percent full that is at or above 70.0 percent threshold
112022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #16 is currently 79.0 percent full that is at or above 70.0 percent threshold
BatchValueStreamProcessor
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #81 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #82 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #83 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #84 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #85 is currently 100.0 percent full that is at or above 70.0 percent threshold
拒否されるエントリを最小限に抑えるために、ストリームエントリプロセッサごとにアプリケーションログを監視しなければなりません。
このログ文のテンプレートは次のとおりです。
{ProcessorName} queue #{queue number} is curently {percentage} percent full that is at or above 70.0 percent threshold
上記のログ文で {ProcessorName} の代わりに表示できるすべてのストリームプロセッサの名前を以下に示します。
BatchStreamProcessor
BatchValueStreamProcessor
ValueStreamProcessor
DataTableProcessor
InfluxdbStreamProcessor
InfluxdbValueStreamProcessor
PersistentPropertyProcessor
StreamProcessor
これは役に立ちましたか?