-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP config provider fails since 0.38 #21873
Comments
Hi @rmrustem, Thank you for creating this issue! Unfortunately, we currently don't have the capacity to work on this feature ourselves. However, we don't plan to remove it. If the community is motivated to work on it, we would be happy to review any contributions. |
To add some more context, this feature was never officially released. It has seen some usage by astute users that came across its existence but testing around the feature is probably weaker than other Vector features. |
I bisected this regression down to 8ed9ec2. |
Problem: The HTTP config provider has been failing to parse the provided TOML from its endpoint when polled. My best guess is that including the `?` on the end of the http provider load results in the TOML parser subtly exploding due to the aliased return type (`BuildResult`). It appears that this was broken in `8ed9ec24c1eba0b2191d7c1f24ec2a7540b5bebf`. See vectordotdev#21873 for the initial issue report. Solution: Correctly propagate the `ConfigBuilder` by not using the `?` operator. This appears to allow the TOML parser to correctly pick up on the return type. ----- Thanks to @jszwedko for the bisect, saved a ton of pain for me. closes vectordotdev#21873
Problem: The HTTP config provider has been failing to parse the provided TOML from its endpoint when polled. My best guess is that including the `?` on the end of the http provider load results in the TOML parser subtly exploding due to the aliased return type (`BuildResult`). It appears that this was broken in `8ed9ec24c1eba0b2191d7c1f24ec2a7540b5bebf`. See vectordotdev#21873 for the initial issue report. Solution: Correctly propagate the `ConfigBuilder` by not using the `?` operator. This appears to allow the TOML parser to correctly pick up on the return type. ----- Thanks to @jszwedko for the bisect, saved a ton of pain for me. closes vectordotdev#21873
Problem: The HTTP config provider has been failing to parse the provided TOML from its endpoint when polled. My best guess is that including the `?` on the end of the http provider load results in the TOML parser subtly exploding due to the aliased return type (`BuildResult`). It appears that this was broken in `8ed9ec24c1eba0b2191d7c1f24ec2a7540b5bebf`. See vectordotdev#21873 for the initial issue report. Solution: Correctly propagate the `ConfigBuilder` by not using the `?` operator. This appears to allow the TOML parser to correctly pick up on the return type. ----- Thanks to @jszwedko for the bisect, saved a ton of pain for me. closes vectordotdev#21873
Problem: The HTTP config provider has been failing to parse the provided TOML from its endpoint when polled. My best guess is that including the `?` on the end of the http provider load results in the TOML parser subtly exploding due to the aliased return type (`BuildResult`). It appears that this was broken in `8ed9ec24c1eba0b2191d7c1f24ec2a7540b5bebf`. See vectordotdev#21873 for the initial issue report. Solution: Correctly propagate the `ConfigBuilder` by not using the `?` operator. This appears to allow the TOML parser to correctly pick up on the return type. ----- Thanks to @jszwedko for the bisect, saved a ton of pain for me. closes vectordotdev#21873
#21982) Problem: The HTTP config provider has been failing to parse the provided TOML from its endpoint when polled. My best guess is that including the `?` on the end of the http provider load results in the TOML parser subtly exploding due to the aliased return type (`BuildResult`). It appears that this was broken in `8ed9ec24c1eba0b2191d7c1f24ec2a7540b5bebf`. See #21873 for the initial issue report. Solution: Correctly propagate the `ConfigBuilder` by not using the `?` operator. This appears to allow the TOML parser to correctly pick up on the return type. ----- Thanks to @jszwedko for the bisect, saved a ton of pain for me. closes #21873
A note for the community
Problem
Though not having been documented, obtaining the pipeline config on a HTTP endpoint introduced in #7166 worked perfectly until 0.37.1, but started to fails since 0.38.
Has this feature been deprecated and not offiicially supported or could it be fixed? Thank you!
Configuration
Example Data
No response
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: