mirror of
https://github.com/floci-io/floci.git
synced 2026-12-03 10:17:48 -05:00
feat(pipes): deliver to a Kinesis stream target with its PartitionKey (#9185)
This commit is contained in:
1 parent
d8809f6f0e
commit
4d96d3e662
8 files changed
+553
-25
No files matched your search
@@ -223,6 +223,15 @@ target input.
|
||||
`SqsQueueParameters` or no `MessageGroupId`. They refuse a `MessageDeduplicationId` on a standard
|
||||
queue. They refuse a `MessageGroupId` or `MessageDeduplicationId` that starts with `$.` but is not a
|
||||
valid JSON path. The errors are reported together in `fieldList`.
|
||||
- A Kinesis stream target writes one record per event, with the event JSON, or the rendered
|
||||
`InputTemplate`, as its data. `KinesisStreamParameters` `PartitionKey` is a literal or a JSON path read
|
||||
off the event before the `InputTemplate` renders. A number becomes its text. A path that names
|
||||
nothing fails the delivery. An empty key, or one longer than 256 characters, also fails the delivery.
|
||||
- CreatePipe and UpdatePipe refuse a Kinesis target that is not a plain `stream/<name>` ARN or is in another
|
||||
account, one that has no `KinesisStreamParameters`, and a `PartitionKey` that starts with `$.` but is not a
|
||||
valid JSON path. The errors are reported together in `fieldList`. A `PartitionKey` that is missing, not a
|
||||
string, or longer than 256 characters is refused alone with a schema message. An empty `PartitionKey` is
|
||||
accepted.
|
||||
- An `InputTemplate` that is exactly one placeholder, such as `<$.Detail>`, renders a string as its
|
||||
own text with no quotes added, so a serialized object reaches an event bus as that object. A
|
||||
placeholder inside a larger template renders a string with quotes where the template gives none:
|
||||
|
||||
Reference in new issue
Block a user