-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Using version pulse 2.8, I have some "gz" files that I want to parse but pulse fails to parse them with:
2023-02-25 12:50:06 2023-02-25 19:50:06,259 ERROR [task-thread-connect-sbd-cdr-0] Failed to execute filter 'DelimitedRowFilter' on record at offset '[startPosition=313, endPosition=558, rows=2, timestamp=1677354606258, size=244]' from object-file [uri=file:/tmp/connect-data/test-2.gz, name='test-2.gz', contentLength=55671, lastModified=1677353549000, contentDigest=[digest=2361669476, algorithm='CRC32'], userDefinedMetadata={system.inode=247951, system.hostname=263ca83c292e}]. Error: Cannot parse 64-bits long content from
The issue is this code at io.streamthoughts.kafka.connect.filepulse.fs.codec.GZipCodec
:
static { MIME_TYPES.add("application/x-gzip"); }
It should also add `application/gzip' since gzip is no longer experimental.
Am I missing something?