I notice that a recent commit to the s3 loader introduced functionality supporting custom directory patterns, namely for a YYYY/MM/DD format, however I am unable to get this working and instead it seems that the directory pattern is ignored all together.
My code for the s3 portion of the config is below.
s3 {
region = "us-east-1"
bucket = "xx-snowplow-logs/sp-s3-sink"
directoryPattern = "good/{YYYY}/{MM}/{DD}"
# optional directory structure to use while storing data on s3, you can place date format strings which will be
# replaced with date time values
# eg: directoryPattern = "enriched/good/run_yr={YYYY}/run_mo={MM}/run_dy={DD}"
# Format is one of lzo or gzip
# Note, that you can use gzip only for enriched data stream.
format = "gzip"
# Maximum Timeout that the application is allowed to fail for (in milliseconds)
maxTimeout = 120000000
## Optional endpoint url configuration to override aws s3 endpoints,
## this can be used to specify local endpoints when using localstack
# customEndpoint = {{kinesisEndpoint}}
}
the result is a single folder xx-snowplow-logs/sp-s3-sink without any partitioning.
I would appreciate any assistance.
Thankyou