Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • enableCache: whether to enable sink cache.
  • pageSize: Page is the unit to read/write to disk batchly to prevent frequent IO. If the page is not full and eKuiper crashed by hardware or software errors, the last page will be lost.
  • memoryCacheSize: the number of messages to be cached in one page. The maximum cache size in memory is two pages. The memory will keep two section of pages: the first page of messages to be resent and the last messages which cannot fill a page yet. Once the page is full, it will be dumped to the disk.
  • diskCacheSize: the maximum number of messages to be cached in the disk. The disk cache is FIFO. If the disk cache is full, the earliest page of messages will be dropped.
  • resendInterval: the interval for resending the messages after failure recovered.

...