-
Notifications
You must be signed in to change notification settings - Fork 13
Proxy support #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy support #304
Conversation
This pull request does not have a backport label. Could you fix it @mashhurs? 🙏
|
No anymore valid. ---- HISTORY ----
|
|
||
static void withGeoipProcessor(final IpDatabaseProvider geoIpDatabaseProvider, Map<String, Object> config, ExceptionalConsumer<Processor> geoIpProcessorConsumer) throws Exception { | ||
Processor processor = new GeoIpProcessor.Factory("geoip", geoIpDatabaseProvider).create(Map.of(), null, null, config); | ||
Processor processor = new GeoIpProcessor.Factory("geoip", geoIpDatabaseProvider).create(Map.of(), null, null, config, null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this previously failing to compile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the answer: #305
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please split this into a separate commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry missed addressing your request.
I have separated this change into this PR to see and discuss to apply Java unit tests run. Let's move there to continue this topic.
buildkite test this |
|
||
static void withGeoipProcessor(final IpDatabaseProvider geoIpDatabaseProvider, Map<String, Object> config, ExceptionalConsumer<Processor> geoIpProcessorConsumer) throws Exception { | ||
Processor processor = new GeoIpProcessor.Factory("geoip", geoIpDatabaseProvider).create(Map.of(), null, null, config); | ||
Processor processor = new GeoIpProcessor.Factory("geoip", geoIpDatabaseProvider).create(Map.of(), null, null, config, null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please split this into a separate commit?
I will LGTM this as soon as #306 is merged and this PR is rebased against it |
… the setting to ES client. URL is an uri LS type.
💔 Build Failed
Failed CI StepsHistory
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Mergifyio backport 9.1 |
@Mergifyio backport 8.17 8.18 8.19 9.0 9.1 |
✅ Backports have been created
|
✅ Backports have been created
|
… the setting to ES client. URL is an uri LS type. (#304) (#317) (cherry picked from commit 2d89bc0) Co-authored-by: Mashhur <[email protected]>
… the setting to ES client. URL is an uri LS type. (#304) (#318) (cherry picked from commit 2d89bc0) Co-authored-by: Mashhur <[email protected]>
… the setting to ES client. URL is an uri LS type. (#304) (#319) (cherry picked from commit 2d89bc0) Co-authored-by: Mashhur <[email protected]>
… the setting to ES client. URL is an uri LS type. (#304) (#320) (cherry picked from commit 2d89bc0) Co-authored-by: Mashhur <[email protected]>
… the setting to ES client. URL is an uri LS type. (#304) (#316) (cherry picked from commit 2d89bc0) Co-authored-by: Mashhur <[email protected]>
Description
Introduces
proxy
config to accept proxy URI to connect to Elasticsearch.Test
and we can check in apache-http debug logs: