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

Fix kafka broker matching when port is not set #8613

Merged
merged 2 commits into from
Oct 17, 2018

Conversation

jsoriano
Copy link
Member

Fix kafka broker matching when port is not set and add tests
for broker matcher function.

@jsoriano jsoriano added module review Metricbeat Metricbeat needs_backport PR is waiting to be backported to other branches. v6.5.0 labels Oct 14, 2018
return os.Hostname()
}

type BrokerFinder struct {

Choose a reason for hiding this comment

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

exported type BrokerFinder should have comment or be unexported

metricbeat/module/kafka/broker.go Show resolved Hide resolved
Fix kafka broker matching when port is not set and add tests
for broker matcher function.
@jsoriano jsoriano force-pushed the kafka-broker-matching branch from dc66a5a to a41f8d7 Compare October 14, 2018 22:09
@ruflin
Copy link
Contributor

ruflin commented Oct 15, 2018

Could it be that you have go 1.11 locally? fmt rules are a bit different for 1.10.3

@jsoriano
Copy link
Member Author

Failures seem caused by some change in upstream goimports, trying to vendorize it in #8619.

@jsoriano jsoriano merged commit 1603e64 into elastic:master Oct 17, 2018
@jsoriano jsoriano deleted the kafka-broker-matching branch October 17, 2018 14:59
@jsoriano jsoriano removed the needs_backport PR is waiting to be backported to other branches. label Oct 17, 2018
jsoriano added a commit to jsoriano/beats that referenced this pull request Oct 17, 2018
Fix kafka broker matching when port is not set and add tests
for broker matcher function.

(cherry picked from commit 1603e64)
jsoriano added a commit that referenced this pull request Oct 18, 2018
Fix kafka broker matching when port is not set and add tests
for broker matcher function.

(cherry picked from commit 1603e64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants