hashicorp / hashicorp/consul

[Streaming] Results from nodes with streaming set header X-Consul-Knownleader: false

Open
#9,776 6 comments 0 reactions 0 assignees View on GitHub
theme/streaming type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

When Streaming is running, the header `X-Consul-Knownleader: false` is set to false.

Some SDKs such as Orbitz, use this field to throw an error, thus, it fails to retrieve data.

This header should be set to true with streaming activated

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the streaming response handling and the code that sets X-Consul-Knownleader; reproduce a streaming request and verify that the header is true and affected SDKs can retrieve the data without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.