Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31856

Add support for Opensearch Connector REST client customization

    XMLWordPrintableJSON

Details

    Description

      It is not currently possible to customise the Opensearch REST client in all of the connectors.

      We are currently using the using the OpensearchSink in connector/opensearch/sink/OpensearchSink.java and need to be able to authenticate/authorise with Opensearch using OAuth2 and therefore need to be able to pass a bearer token to the bulk index calls.

      The access token will expire and change during the jobs lifetime it must be possible to handle this, i.e. giving a token at when building the sink is not enough.

      For reference see the mailing list discussion: https://lists.apache.org/thread/9rvwhzjwzm6yq9mg481sdxqx9nqr1x5g

      Attachments

        Activity

          People

            reta Andriy Redko
            mhjtrifork Michael Hempel-Jørgensen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: