Skip to content

Commit

Permalink
Elasticsearch index sink indexId random generator for null
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Dec 9, 2021
1 parent e8d8bfe commit f6ee9ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kamelets/elasticsearch-index-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ spec:
steps:
- set-header:
name: "indexId"
simple: "camel-k-index-es"
expression:
simple: ${bean:org.apache.camel.support.ShortUuidGenerator?method=generateUuid}
- choice:
when:
- simple: "${header[indexName]}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ spec:
steps:
- set-header:
name: "indexId"
simple: "camel-k-index-es"
expression:
simple: ${bean:org.apache.camel.support.ShortUuidGenerator?method=generateUuid}
- choice:
when:
- simple: "${header[indexName]}"
Expand Down

0 comments on commit f6ee9ef

Please sign in to comment.