elastic / elastic/logstash

Document how to set `https` proxy for Azure Event Hub input plugin

Open
#16,192 1 comment 0 reactions 0 assignees View on GitHub
docs
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Azure Event Hub input plugin uses a client (deprecated) that leverages the HTTP client provided by the JDK. Such client can be configured to use https proxy. Update documentation, in plugin or on Logstash trouble shooting section maybe, to explain how to configure such proxy.

----

### Pre-existing knowledge

From this [guide](https://learn.microsoft.com/en-us/azure/developer/java/sdk/proxying#use-an-environment-proxy) on the new AzureSDK (the plugin is using a [deprecated library](https://github.com/Azure/azure-storage-java/tree/v8.6.6)!) seems that all Azure java client libraries are able to respect the [Java proxy environment variables](https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html). In particular they need the user to set:
```
-Djava.net.useSystemProxies=true
-Dhttps.proxyHost=
-Dhttps.proxyPort=
-Dhttp.proxyUser=
-Dhttp.proxyPassword=
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.