Skip to content

Allow setting hostname and port separately for connection as an alternative #244

@Im0rtality

Description

@Im0rtality

Current:

ongr_elasticsearch:
    connections:
        default:
            hosts:
                - { host: "127.0.0.1:9200" }
            index_name: foo

Alternative way of specifying same:

ongr_elasticsearch:
    connections:
        default:
            hosts:
                - { host: "127.0.0.1" port: "9200" }
            index_name: foo

Allows for cleaner/more consistent configs as we don't need to store concatenated parameter.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions