-
Notifications
You must be signed in to change notification settings - Fork 463
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
Add support to Quickstart for testing devices behind an HTTP proxy. #446
Conversation
This change adds two new CLI parameters `--proxy` and `--upstream-protocol`. They correspond to `agent.env.https_proxy` and `agent.env.UpstreamProtocol` in config.yaml. `--proxy` defaults to the `https_proxy` environment variable on the `Quickstart` process itself, if it's set. Also fixed JSON errors in the smoke test deployment templates that caused `jq` to choke.
1665f59
to
19a172e
Compare
|
@@ -26,6 +26,6 @@ public Task ProcessEventsAsync(IEnumerable<EventData> events) | |||
return Task.CompletedTask; | |||
} | |||
public Task ProcessErrorAsync(Exception error) => throw error; | |||
public int MaxBatchSize { get; } = 10; | |||
public int MaxBatchSize { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who uses this setter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interface requires it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There doesn't seem to be any reason why they changed it to require a setter. The IPartitionReceiver
impl in the SDK only gets its value.
This change adds two new CLI parameters
--proxy
and--upstream-protocol
.They correspond to
agent.env.https_proxy
andagent.env.UpstreamProtocol
in config.yaml.
--proxy
defaults to thehttps_proxy
environment variable on theQuickstart
process itself, if it's set.Also fixed JSON errors in the smoke test deployment templates that caused
jq
to choke.