Custom topic naming strategy implementation based on custom event (Record) field with JSONPath
expression
#272
Labels
enhancement
New feature or request
What is your idea?
Implement a custom topic naming strategy based on a specified event (Record) field.
For example, given the following Kafka Record
value
(JSON-encoded):A user could specify the
JSONPath
expression$.payment_method
to use thepayment_method
field (key) value in the outgoing EventBridge eventdetail-type
field.This functionality is useful in Kafka environments, where different events (Records) are written to the same Kafka topic. Currently, all these events would use the same topic name (or hardcoded string in the configuration) in the
detail-type
field. Allowing more fine-grained behavior enables flexible rule pattern matching and advanced IAM policies based ondetail-type
filter criteria, see https://twitter.com/embano1/status/1734260552640143817Would you be willing to make the change?
No, but @maschnetwork was interested in doing it.
Additional context
JSONPath
The text was updated successfully, but these errors were encountered: