Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Support streaming endpoint /v1/health/service/:serviceName?cached #452

@arnoldyahad

Description

@arnoldyahad

Hey guys,
Recently(From version 1.9~ if i'm not mistaken) consul started to support streaming on the /v1/health/service/:serviceName.
That means that by adding cached argument to that API it stresses the consul servers much less.

Its explained much better here:
https://medium.com/criteo-engineering/consul-streaming-whats-behind-it-6f44f77a5175
(it's written by @pierresouchay)
https://www.consul.io/api/features/blocking#streaming-backend

I wondered if this feature needs any augmentation to the code in order to work? Or was there any changes in regards to enabling streaming usage?

Thanks a lot for you attention!

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