Skip to content

Use endpoint as default connection option (ADR-119) #2098

@maratal

Description

@maratal

Need implementation for ADR-119[1], which specifies the client connection options to update requests to the endpoints implemented as part of ADR-042[2].

The endpoint may be one of the following:

a routing policy name (such as main)
a nonprod routing policy name (such as nonprod:sandbox)
a FQDN such as foo.example.com

The endpoint option is not valid with any of environment, restHost or realtimeHost, but we still intend to support the legacy options.

If the client has been configured to use any of these legacy options, then they should continue to work in the same way, using the same primary and fallback hostnames.

If the client has not been explicitly configured, then the hostnames will change to the new ably.net domain when the package is upgraded.

(copied from ably/ably-js#1973)

ADR: https://ably.atlassian.net/wiki/spaces/ENG/pages/3428810778/ADR-119+ClientOptions+for+new+DNS+structure

Spec PR: ably/specification#213

ably-js implementation: ably/ably-js#1973

ably-go implementation: ably/ably-go#679

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

Labels

enhancementNew feature or improved functionality.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions