If you set ignore_errors parameter to true, KafJS will not fail when it encounters errors while reading the existing db logs. This mimics legacy behaviour where it would ignore parse errors and try it’s best to continue.
Architecture
KafJS stores JSON data in NDJSON formatted records and loads and sends them back. With every GET request it also sends the X-KAFJS-LASTMSGSENT header so users can request the next page of records.
Errors
KafJS stores it’s own logs and errors in a log file called _kafjs. The message format is simple: