Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make elasticsearch-index-sink user and password properties optional with "?" syntax #704

Closed
valdar opened this issue Jan 12, 2022 · 0 comments · Fixed by #785
Closed

make elasticsearch-index-sink user and password properties optional with "?" syntax #704

valdar opened this issue Jan 12, 2022 · 0 comments · Fixed by #785

Comments

@valdar
Copy link
Member

valdar commented Jan 12, 2022

after https://issues.apache.org/jira/browse/CAMEL-17479 is released we can change :

    beans:
      - name: local-es
        type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
        properties:
            user: "{{user:dummy}}"
            password: "{{password:dummy}}"

into:

    beans:
      - name: local-es
        type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
        properties:
            user: "{{?user}}"
            password: "{{?password}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant