Comments (1)
I assume that the section of bruce's config file specifies broker_host_1 port 9092, since bruce successfully connects to that broker and gets metadata. The metadata response gives the hostnames and ports of all brokers, which is how bruce knows which brokers to connect to for message transmission. The following log message:
bruce[21788]: Connector thread 21793 (index 0 broker 1) connecting to host localhost port 9092
suggests that according to the metadata response, one of the brokers is running on localhost port 9092 (clearly wrong), so bruce tries unsuccessfully to connect to a broker running locally. That suggests that your Kafka cluster is misconfigured. Take a look at the server.properties file for each broker and verify that everything is correct. In particular, take a look at the the settings for host.name, advertised.host.name, and advertised.port. I suspect that one or more of these settings are wrong. In my broker config, all 3 settings are commented out. For troubleshooting purposes, bruce comes with a program called mdrequest
, which connects to a broker, sends a metadata request, and writes JSON to standard output showing the response. This may help. You can build and run it as follows, from the root of bruce's source tree:
./build_all -v
out/debug/bruce/kafka_proto/v0/mdrequest --broker_host broker_host_1 --broker_port 9092
Let me know if you still have problems.
from bruce.
Related Issues (11)
- Can't build bruce in ubuntu 14.04 HOT 3
- Building specific version HOT 2
- Building on FreeBSD 10.1 fails. HOT 2
- Syntax error when running ./pkg rpm on Amazon Linux 2015.03 HOT 4
- SSL HOT 17
- Message max size HOT 4
- syntax error ? HOT 2
- Building a static version on RHEL 6.x systems HOT 6
- Failure tolerance HOT 1
- TopicAutocreate only works if there's at least one topic on broker HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bruce.