Skip to content
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

request.in_flight_limit alias no longer works #5920

Closed
jszwedko opened this issue Jan 7, 2021 · 3 comments · Fixed by #5950
Closed

request.in_flight_limit alias no longer works #5920

jszwedko opened this issue Jan 7, 2021 · 3 comments · Fixed by #5950
Assignees
Labels
type: bug A code related bug.

Comments

@jszwedko
Copy link
Member

jszwedko commented Jan 7, 2021

This appears to be a regression from 0.11.1 as it works there; we should fix before 0.12 cc/ @jamtur01 @binarylogic

Vector Version

vector 0.12.0 (gb448cf4 x86_64-unknown-linux-gnu 2021-01-07)

Vector Configuration File

[sources.in]
type = "stdin"

[sinks.company_unfurler_http]
type = "http"
inputs = ["in"]
uri = "http://example.com"
encoding.codec = "json"

[sinks.company_unfurler_http.request]
in_flight_limit = 100
rate_limit_duration_secs = 5
rate_limit_num = 60

Debug Output

➜  vector git:(master) ./target/debug/vector --config /tmp/http.toml -vvv 
Jan 07 19:51:00.598  INFO vector::app: Log level is enabled. level="vector=trace,codec=trace,file_source=trace,tower_limit=trace,rdkafka=trace"
Jan 07 19:51:00.598  INFO vector::sources::host_metrics: PROCFS_ROOT is unset. Using default '/proc' for procfs root.
Jan 07 19:51:00.598  INFO vector::sources::host_metrics: SYSFS_ROOT is unset. Using default '/sys' for sysfs root.
Jan 07 19:51:00.598  INFO vector::app: Loading configs. path=[("/tmp/http.toml", None)]
Jan 07 19:51:00.612 ERROR vector::cli: Configuration error. error=unknown field `in_flight_limit` for key `sinks.company_unfurler_http` at line 10 column 1

Expected Behavior

Vector sets the concurrency limit to 100.

Actual Behavior

Vector fails to start.

@jszwedko jszwedko added the type: bug A code related bug. label Jan 7, 2021
@jamtur01 jamtur01 added this to the 2021-01-04 Xenomass Well milestone Jan 7, 2021
@jamtur01
Copy link
Contributor

jamtur01 commented Jan 7, 2021

I suspect it is likely 4b94c3a.

@ktff
Copy link
Contributor

ktff commented Jan 8, 2021

Found the issue serde-rs/serde#1504. It seams we've been bitten by it several times now.

@jamtur01
Copy link
Contributor

jamtur01 commented Jan 8, 2021

Argh - yeah - a58b819. I had forgotten that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A code related bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants