Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
3
Description
If the connector sends a too-long value for a field of type `keyword`, Elasticsearch responds like this:
ElasticsearchException[Elasticsearch exception [type=max_bytes_length_exceeded_exception, reason=max_bytes_length_exceeded_exception: bytes can be at most 32766 in length; got 1658739]]
|
When this happens, the connector should add a record to the reject log instead of retrying forever.
This error condition indicates the field's type mapping is incorrect. Possible fixes include changing the type definition from `keyword` to `text`, or adding an `ignore_above` threshold to the `keyword` field.