Ability to provide SocketFactory for http client
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- networking
Research direction
Start by locating how the Splunk HttpClient is created and used for sending log messages. Review the current HttpClient and socket-factory configuration points, then determine how users could provide their own socket factory without reflection. Done means a caller can select the appropriate network and successfully send logs through the configured client.
Written by the indexing model from the issue text.
Description
Currently there's no way to provide a socket factory for the HttpClient used by Splunk.
In some scenarios - some example when running on a device with multiple networks, some connected to the internet while some without internet it is not possible to specify the correct network to use in order to have internet access.
It would be very nice if users of the library could reconfigure the httpClient to provide their own socket factory.
I've been trying to forcefully (i.e. via reflection) reconfigure the instance of httpClient to another one, but I've had limited success in actually getting the log messages to successfully send so far.
- Dominant language
- Java
- Stars
- 140
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from splunk/splunk-library-javalogging
-
Support for Metrics Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Upgrade okhttp to v5 Open
Difficulty 2/5 Half a day Newbie friendliness 55/100
splunk/splunk-library-javalogging#296 · 3 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in splunk/splunk-library-javalogging
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·