Closed dearli closed 9 years ago
Hi,I know the reason now.After reading the source code of com.yelp.pyleus.PyleusTopologyBuilder.I find pyleus always uses the default brokerPath (/brokers).But in my kafka Cluster, it's not by default. So ,I change line 144 in com.yelp.pyleus.PyleusTopologyBuilder,
SpoutConfig config = new SpoutConfig(
new ZkHosts(zkHosts,"/kafka/0.8.1/brokers"),
topic,
zkRoot,
consumerId
);
"/kafka/0.8.1/brokers" is my broker path,my program runs well. So I think pyleus can add a new "broker_path" option in yaml file.
Thank you for letting us know. I'll change the name of the to turn it into a feature request
Any chance this can get fixed for the next release? It is a one line change/patch. This way I don't have to maintain a forked/patched Pyleus :-)
Have you already submitted a pull request? I believe you have some code working if you have/are considering a patched Pyleus ;)
@poros Rrraaaahhhhhh waaahh wahhh making me do work.....! ;-)
Ok pull request created and submitted :-D
This is now working for me with PR #137
Closed by #137
Hi, thanks for the YAML example for kafka storm spout, one question thou - where are you specifying the kafka host and port?
I see you are specifying zookeeper host and port in your YAML file, under the "spout" section. But in my case my kafka is installed on another host, port 9092.
In Pyleus, if we need not to write a python script to implement kafka spout, then how should we let storm know where Kafka is?
Thanks in advance. Howard
Hi: I'm using kafka spout.I met a problem.I find what ever I set the zk_root,it seems don't work.My yaml file is as bellow name: kafka_seclog
topology:
However I change zk_root,the error is always the same.
The Error is:![image](https://cloud.githubusercontent.com/assets/8372765/7876090/b476bdbe-05f8-11e5-82ad-d23921feffae.png)
My workmates wrote topology with JAVA and run on the same kafka Cluster,it is ok Thanks