-
Notifications
You must be signed in to change notification settings - Fork 1.8k
docs(external): Clarify docs for Azure Event Hubs (Kafka) input #23280
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
base: master
Are you sure you want to change the base?
Conversation
(The automatic spellcheck is wrong.) |
Some issues were a bit maddening to debug until we realised some simple mistakes in configs we forgot to check.
daeab4e
to
9d03a86
Compare
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.
Thank you @nemobis. Left a few comments.
@@ -505,7 +505,11 @@ base: components: sources: kafka: configuration: { | |||
} | |||
} | |||
group_id: { | |||
description: "The consumer group name to be used to consume events from Kafka." | |||
description: """ |
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.
This file is generated and we don't modify by hand. Instead, this new description should be a ///
comment on the group_id
in src/sources/kafka.rs
. Then you can make generate-component-docs
to generate this file.
@@ -103,6 +104,9 @@ components: _kafka: { | |||
- `tls.enabled` - Set to `true`. | |||
- `tls.ca_file` - The certificate authority file. | |||
- `tls.verify_certificate` - Set to `true`. | |||
If you see AllBrokerDown errors every 5 minutes (the default interval between rebootstrap), that may |
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.
To fix the error, add rebootstrap
in the allow.txt
.
@@ -103,6 +104,9 @@ components: _kafka: { | |||
- `tls.enabled` - Set to `true`. | |||
- `tls.ca_file` - The certificate authority file. | |||
- `tls.verify_certificate` - Set to `true`. | |||
If you see AllBrokerDown errors every 5 minutes (the default interval between rebootstrap), that may |
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.
This can be slightly rephrased.
If you see `AllBrokerDown` errors every five minutes (the default “rebootstrap” interval), it usually just means there are no new records to fetch. If you were expecting new data, double-check your group_id; if you’re actually hitting network hiccups, verify your keepalive, socket timeout and other retry/interval settings.
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.
If you see AllBrokerDown errors every 5 minutes (the default interval between rebootstrap), that may | |
If you see `AllBrokerDown` errors every five minutes (the default “rebootstrap” interval), it usually means there are no new records to fetch. If you are expecting new data, double-check your `group_id`; if you’re actually hitting network hiccups, verify your `keepalive`, socket timeout and other retry or interval settings. |
@@ -103,6 +104,9 @@ components: _kafka: { | |||
- `tls.enabled` - Set to `true`. | |||
- `tls.ca_file` - The certificate authority file. | |||
- `tls.verify_certificate` - Set to `true`. | |||
If you see AllBrokerDown errors every 5 minutes (the default interval between rebootstrap), that may |
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.
If you see AllBrokerDown errors every 5 minutes (the default interval between rebootstrap), that may | |
If you see `AllBrokerDown` errors every five minutes (the default “rebootstrap” interval), it usually means there are no new records to fetch. If you are expecting new data, double-check your `group_id`; if you’re actually hitting network hiccups, verify your `keepalive`, socket timeout and other retry or interval settings. |
@@ -505,7 +505,11 @@ base: components: sources: kafka: configuration: { | |||
} | |||
} | |||
group_id: { | |||
description: "The consumer group name to be used to consume events from Kafka." | |||
description: """ | |||
The consumer group name to be used to consume events from Kafka. Must be unique across Vector instances if they all are to consume the same events. If two instances (consumers) share the same group name, any event will be received by only one of them. |
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 consumer group name to be used to consume events from Kafka. Must be unique across Vector instances if they all are to consume the same events. If two instances (consumers) share the same group name, any event will be received by only one of them. | |
The consumer group name used to consume events from Kafka. Must be unique across Vector instances if each is expected to consume the same events. If two instances (consumers) share the same group name, each event is delivered to only one instance. |
1720078
to
ffe54be
Compare
Some issues were a bit maddening to debug until we realised some simple mistakes in configs we forgot to check.
Summary
Vector configuration
How did you test this PR?
Change Type
Is this a breaking change?
Does this PR include user facing changes?
no-changelog
label to this PR.References
Notes
@vectordotdev/vector
to reach out to us regarding this PR.pre-push
hook, please see this template.cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo nextest run --workspace
(alternatively, you can runcargo test --all
)git merge origin master
andgit push
.Cargo.lock
), pleaserun
cargo vdev build licenses
to regenerate the license inventory and commit the changes (if any). More details here.