chore(inputs.nats_consumer)!: Remove deprecated 'metric_buffer' option (#14915)
This commit is contained in:
parent
c5d864af9c
commit
e78b813405
|
|
@ -37,27 +37,21 @@ func (e natsError) Error() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
type natsConsumer struct {
|
type natsConsumer struct {
|
||||||
QueueGroup string `toml:"queue_group"`
|
QueueGroup string `toml:"queue_group"`
|
||||||
Subjects []string `toml:"subjects"`
|
Subjects []string `toml:"subjects"`
|
||||||
Servers []string `toml:"servers"`
|
Servers []string `toml:"servers"`
|
||||||
Secure bool `toml:"secure"`
|
Secure bool `toml:"secure"`
|
||||||
Username string `toml:"username"`
|
Username string `toml:"username"`
|
||||||
Password string `toml:"password"`
|
Password string `toml:"password"`
|
||||||
Credentials string `toml:"credentials"`
|
Credentials string `toml:"credentials"`
|
||||||
NkeySeed string `toml:"nkey_seed"`
|
NkeySeed string `toml:"nkey_seed"`
|
||||||
JsSubjects []string `toml:"jetstream_subjects"`
|
JsSubjects []string `toml:"jetstream_subjects"`
|
||||||
|
PendingMessageLimit int `toml:"pending_message_limit"`
|
||||||
|
PendingBytesLimit int `toml:"pending_bytes_limit"`
|
||||||
|
MaxUndeliveredMessages int `toml:"max_undelivered_messages"`
|
||||||
|
Log telegraf.Logger `toml:"-"`
|
||||||
tls.ClientConfig
|
tls.ClientConfig
|
||||||
|
|
||||||
Log telegraf.Logger
|
|
||||||
|
|
||||||
// Client pending limits:
|
|
||||||
PendingMessageLimit int `toml:"pending_message_limit"`
|
|
||||||
PendingBytesLimit int `toml:"pending_bytes_limit"`
|
|
||||||
|
|
||||||
MaxUndeliveredMessages int `toml:"max_undelivered_messages"`
|
|
||||||
MetricBuffer int `toml:"metric_buffer" deprecated:"0.10.3;1.30.0;option is ignored"`
|
|
||||||
|
|
||||||
conn *nats.Conn
|
conn *nats.Conn
|
||||||
jsConn nats.JetStreamContext
|
jsConn nats.JetStreamContext
|
||||||
subs []*nats.Subscription
|
subs []*nats.Subscription
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue