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

feat(cmd/influxd): add nats-max-payload-bytes config option to influxd #20564

Merged
merged 2 commits into from
Jan 20, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #19713

I went with raw bytes instead of a toml.Size for simplicity, but I could be convinced to change it.

@danxmoran danxmoran force-pushed the dm-nats-max-payload-conf-19713 branch from cbe5e9f to dfe15ed Compare January 20, 2021 18:58
Copy link
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Bytes or size doesn't make much of a difference.

@danxmoran danxmoran merged commit e77c467 into master Jan 20, 2021
@danxmoran danxmoran deleted the dm-nats-max-payload-conf-19713 branch January 20, 2021 20:44
@@ -18,6 +18,7 @@ import (
"github.com/influxdata/influxdb/v2/storage"
"github.com/influxdata/influxdb/v2/v1/coordinator"
"github.com/influxdata/influxdb/v2/vault"
natsserver "github.com/nats-io/gnatsd/server"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heads up that this is still v1 of the server for v2, this would be needed:

"github.com/nats-io/nats-server/v2/server"

(it is backwards compatible as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add config option to set NATS max payload size
3 participants