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

TransactionalTridentKafkaSpout works correctly in local cluster, but fails to get any message in remote cluster #28

Open
philipgao opened this issue Apr 1, 2013 · 4 comments

Comments

@philipgao
Copy link

I am using TransactionalTridentKafkaSpout and transactional trident state, it works correctly in local cluster, but fails to get any message when I deploy it to a remote cluster

In both local cluster and remote cluster I am pointing TransactionalTridentKafkaSpout to the same zookeeper and kafka, really not know how this can possibly happen

@philipgao
Copy link
Author

Code Sample is as below:

TridentKafkaConfig tridentKafkaConfig = new TridentKafkaConfig(new ZkHosts(zkServer+":"+zkPort, zkBrokerPath), kafkaTopic);
tridentKafkaConfig.forceStartOffsetTime(-1);

TridentTopology topology=new TridentTopology();
TridentState tridentState = topology.newStream("kafkaSpout"+System.currentTimeMillis(), new TransactionalTridentKafkaSpout(tridentKafkaConfig))
.parallelismHint(10)

@philipgao
Copy link
Author

I also tried clean all zookeeper data, seems not working

@danielpizarro
Copy link

I'm having the same problem. Have you figured out the solution?

@wanwanqunqun
Copy link

I also have the same problem. who can help me solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants