fluent-plugin-bigquery
fluent-plugin-bigquery copied to clipboard
lexical error: invalid bytes in UTF8 string
periodically I do catch following error:
2017-07-29 11:46:43 +0300 [warn]: #0 plugin/output.rb:1096:block in update_retry_state: failed to flush the buffer. retry_time=0 next_retry_seconds=2017-07-29 11:46:43 +0300 chunk="55570d4efaf3ca91e7b235dffef577db" error_class=MultiJson::ParseError error="lexical error: invalid bytes in UTF8 string.\n w=1&hl=ru&ie=windows-1251&q=\xF0\xEE\xE1\xEE\xF2\xE0 ua\",\"host\":\"rabota.ua\",\"s\n (right here) ------^\n"
not sure is it bigquery or fluentd or ruby issue
after looking around I have added .scrub.strip to all fields which may cause this issue in record_transformer filter but still with no luck
I can confirm this issues is happening to me too. It appears tob ean underlying library, but I'm not 100% sure yet.