Skip to content

Add proxy related configurations for splunk connector config #434

@wangshu3000

Description

@wangshu3000

Problem:

Current Splunk connector doesn't have proxy related settings, that means the connector cannot connect to HEC endpoint via a proxy configured at connector level.

For some cases, to connect to splunk cloud HEC endpoint will need to go through a dedicated outbound proxy. It could be a different proxy than other connectors.

It's not supported to configure a connector level proxy via the rest configuration api.
Configure the proxy via JVM OPTS will impact all other connectors running on the same cluster.

So provide proxy related settings via rest api or connector properties would be necessary.

Many other http based connectors also have this feature.
For example: http connector, S3 connector, SQS connector etc.

Solution:

  1. Add proxy settings to SplunkSinkConnecorConfig.java so that we can configure the connector's proxy via api or connect properties file. The new configurations will be together with the existing httpKeepAlive config.
  2. Add proxy settings to RequestConfig in HttpClientBuilder.java file if the proxy settings were configured.
  3. Other dependencies files and Test files etc.
  4. Update README.md file
  5. Update latest coverage report.

I would like to work on this and contribute a PR once i finish it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions