From 897fc8d2e995109734687ce65a29e77cf8302805 Mon Sep 17 00:00:00 2001 From: Michael Leditschke Date: Sat, 20 Nov 2021 13:16:47 +1100 Subject: [PATCH] feat(kinesis): Prefix time path control Add the ability to include the year, month, day and hour in the prefix. While the time path is added automatically when not using partitioning, it must be explicitly added when partitioning is used. --- providers/shared/components/datafeed/id.ftl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/providers/shared/components/datafeed/id.ftl b/providers/shared/components/datafeed/id.ftl index 27ad6edd1..66584a36b 100644 --- a/providers/shared/components/datafeed/id.ftl +++ b/providers/shared/components/datafeed/id.ftl @@ -60,7 +60,7 @@ "Names" : "Order", "Description" : "The order of the included prefixes", "Types" : ARRAY_OF_STRING_TYPE, - "Default" : [ "AccountId", "ComponentPath" ] + "Default" : [ "AccountId", "ComponentPath", "TimePath" ] } { "Names" : "AccountId", @@ -73,6 +73,12 @@ "Description" : "The full component path defaults", "Types": BOOLEAN_TYPE, "Default" : false + }, + { + "Names" : "TimePath", + "Description" : "The time path defaults", + "Types": BOOLEAN_TYPE, + "Default" : false } ] }