Bharath Reddy Gunapati created FLINK-40279:
----------------------------------------------

             Summary:  Add HTTP sink parity for OIDC, proxy, and HTTP version 
configuration
                 Key: FLINK-40279
                 URL: https://issues.apache.org/jira/browse/FLINK-40279
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / HTTP
            Reporter: Bharath Reddy Gunapati


The HTTP lookup source supports OIDC bearer token handling, proxy settings, 
connection timeout, and HTTP version configuration. The sink currently does not 
expose equivalent
behavior and hardcodes HTTP/1.1 in request submitters.

Add equivalent sink configuration where applicable.

Proposed options:

  - http.sink.http-version
  - http.sink.connection.timeout
  - http.sink.proxy.host
  - http.sink.proxy.port
  - http.sink.proxy.username
  - http.sink.proxy.password
  - reuse existing OIDC security options for sink bearer token refresh

Acceptance criteria:

  - Sink can configure HTTP/1.1 or HTTP/2.
  - Sink can configure proxy host/port and optional proxy authentication.
  - Sink can refresh OIDC bearer tokens before request submission.
  - Shared Java HTTP client creation code avoids lookup-only assumptions.
  - Tests cover client construction and request header refresh behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to