mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* fix(firehose): build S3 object keys with AWS prefix expressions and name suffix
Delivered objects now follow the AWS key format
<evaluated prefix><stream>-<version>-<yyyy-MM-dd-HH-mm-ss>-<uuid> observed on
real AWS: default prefix yyyy/MM/dd/HH/ when no Prefix is set, literal
concatenation of the time prefix for expression-free prefixes,
!{timestamp:<pattern>} and !{firehose:random-string} evaluation, no .json
extension, and CustomTimeZone support. The non-AWS {year}/{month}/{day}/{hour}
placeholders are gone.
See floci-io/floci#1857 for the behavior captured against a real AWS account.
* refactor(firehose): cache the default time-prefix DateTimeFormatter
---------
Co-authored-by: Mihai Blidaru <mihai.blidaru@lynxfctech.com>