Open Samrose-Ahmed opened 1 year ago
Tracking issue for SQS ingestion support.
Someone can send logs through SQS to Matano.
Likely have a separate ingest queue per log source.
SQS has a max message size of 256 KB. For efficiency, we can store many log 'rows' in one SQS message (similar to how Kinesis packs messages).
Aim to basically encode each message very similarly to an S3 file.
Can also add support compression through base64 encoding.
read_events_s3
Tracking issue for SQS ingestion support.
Goal
Someone can send logs through SQS to Matano.
Design
Likely have a separate ingest queue per log source.
SQS has a max message size of 256 KB. For efficiency, we can store many log 'rows' in one SQS message (similar to how Kinesis packs messages).
Aim to basically encode each message very similarly to an S3 file.
Can also add support compression through base64 encoding.
Notes
read_events_s3
(https://github.com/matanolabs/matano/blob/main/lib/rust/transformer/src/main.rs#L370) for SQS that converts the raw SQS messages into values.