-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Introduce strict deprecation mode for low-level REST client #33534
Copy link
Copy link
Closed
Labels
:Clients/Java Low Level REST ClientMinimal dependencies Java Client for ElasticsearchMinimal dependencies Java Client for Elasticsearch>enhancementhelp wantedadoptmeadoptme
Description
We want to surface deprecation warnings on the client side more visibly, as today they come back as headers which might not be being examined by an application developer using the Java low-level REST client. This issue proposes that we add a strict deprecation mode to the low-level REST client with the following properties:
- if strict mode is off (default for 6.x), we log all deprecation warning headers
- if strict mode is on, a deprecation warning header in the response fails the request
- we can consider in the future changing the default to strict mode being enabled
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Clients/Java Low Level REST ClientMinimal dependencies Java Client for ElasticsearchMinimal dependencies Java Client for Elasticsearch>enhancementhelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.