Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Kafka consumer

I am developing a Kafka consumer inside a PU, I just want to know what means do we have to auto execute on startup of the application, just after all spaces are up and running

Thanks in Advance

asked 2017-02-09 11:44:49 -0500

tech4253 gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Sorry for the last reply. There was a problem with the forum. Are you looking for an event that will be triggered once all partitions are running? Are you running your Kafka consumer from a stateless PU?

In general the client would not connect to the cluster unless all partitions are up. If you want to be 100% sure all partitions are up , execute a Distributed Task that returns 1. If you are getting a value from all partitions you are OK.

answered 2017-05-05 08:57:14 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-02-09 11:44:49 -0500

Seen: 279 times

Last updated: May 05