Skip to content
This repository was archived by the owner on Jun 20, 2020. It is now read-only.
This repository was archived by the owner on Jun 20, 2020. It is now read-only.

ESConfig.toString() output based on server + port, not esUrl #2

Description

@milesgould

The toString method in ESConfig reads the deprecated server and port properties. These are overridden by the esUrl property, leading to the following problems:

  • if you set esUrl but not server/port, then toString will incorrectly give you "port=9200, server=localhost" (the defaults for server and port)
  • if you set server and port but not esUrl, then toString will tell you "port=9203, server=my.awesome.server", but your ES client will actually connect to http://localhost:9200 (the default for esUrl).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions