Skip to content

Commit

Permalink
feature(es-sink): Add documentation about indexName
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen authored and nicolaferraro committed May 13, 2021
1 parent 0648868 commit b6bafb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/elasticsearch-index-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ If the *indexId* parameter is set, that value will be used as the document ID on
If the *indexId* parameter is not set and the source of the kamelet binding is a Kafka broker, it will take the kafka topic, partition and offset of the
element to generate an automatic ID that warrantees that this element is processed only once.

If the *indexName* parameter is not set and the source of the kamelet binding is a Kafka broker, it will take the kafka topic as the indexName.

== Configuration Options

The following table summarizes the configuration options available for the `elasticsearch-index-sink` Kamelet:
Expand Down
2 changes: 2 additions & 0 deletions elasticsearch-index-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
If the *indexId* parameter is not set and the source of the kamelet binding is a Kafka broker, it will take the kafka topic, partition and offset of the
element to generate an automatic ID that warrantees that this element is processed only once.
If the *indexName* parameter is not set and the source of the kamelet binding is a Kafka broker, it will take the kafka topic as the indexName.
required:
- clusterName
- hostAddresses
Expand Down

0 comments on commit b6bafb3

Please sign in to comment.