Java API client version
8.1.2
Java version
17.0.2
Elasticsearch Version
8.1.2
Problem description
Deployed in single localhost node. The autogenerated configuration in section "SECURITY AUTO CONFIGURATION" showed "cluster.initial_master_nodes: ["localhost"]", while in the entity class NodeInfoSettingsCluster the type of the according field is String:
https://github.com/elastic/elasticsearch-java/blob/v8.1.2/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java#L59-L60=
https://github.com/elastic/elasticsearch-specification/blob/8.1/specification/nodes/info/types.ts#L134=
Reproduce:
elasticsearchClient.nodes().info()