ReggieCarey opened a new issue #673: URL: https://github.com/apache/camel-kamelets/issues/673
Greetings, I've got a Kamelet that sources a KafkaTopic and sinks to ElasticSearch. The cloud event payload is JSON. The payload does contain a unique identifier that I want to use as indexId, I cannot figure out how to use "insert-field-action" or "insert-header-action" to inject indexId/ce-indexId with a unique value from the payload (or for that matter ce-attributes). Attempts to use "extract-field-action" might be of use but there does not appear to be any way to actually use what was extracted. (I was hoping I could extract a field and then use the contents to insert a header or insert a field). Frankly the Kamelet documentation is useless. It provides no data other than boilerplate as if automatically generated. No explanation of fields, their use, or meaningful examples. See the next three code blocks as exemplars: ``` steps: - ref: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: insert-field-action properties: field: The Field value: The Value ``` or ``` steps: - ref: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: extract-field-action properties: field: The Field ``` or ``` steps: - ref: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: insert-header-action properties: name: headername value: The Value ``` Do I have to roll my own Kamelet to do something so obviously simple? I must be missing something. Thanks, Reggie -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org