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

[bug_fix] [exporter/pulsar] Change configuration option #36579

Merged
merged 4 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exporter/pulsarexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The following settings can be optionally configured:
- `timeout`: send pulsar message timeout (default: 5s)
- `operation_timeout`: sets producer-create, subscribe and unsubscribe operations timeout (default: 30 seconds)
- `connection_timeout`: timeout for the establishment of a TCP connection (default: 5 seconds)
- `map_connections_per_broker`: max number of connections to a single broker that will kept in the pool. (default: 1 connection)
- `max_connections_per_broker`: max number of connections to a single broker that will kept in the pool. (default: 1 connection)
- `retry_on_failure`
- `enabled` (default = true)
- `initial_interval` (default = 5s): Time to wait after the first failure before retrying; ignored if `enabled` is `false`
Expand Down
2 changes: 1 addition & 1 deletion exporter/pulsarexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Config struct {
Authentication Authentication `mapstructure:"auth"`
OperationTimeout time.Duration `mapstructure:"operation_timeout"`
ConnectionTimeout time.Duration `mapstructure:"connection_timeout"`
MaxConnectionsPerBroker int `mapstructure:"map_connections_per_broker"`
MaxConnectionsPerBroker int `mapstructure:"max_connections_per_broker"`
}

type Authentication struct {
Expand Down