You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Sumanta Ghosh <su...@yahoo.com> on 2017/03/01 03:23:23 UTC

Re: Data streamers: How to ensure loading data for the current partition only

Hi Val,
Thanks a lot - yes, the problem I mentioned does not exist if the data
streamer run on a single node. However, this raises another question though.
How to ensure that data streamers run on a single node only? Is it done by
ignite automatically? If not, can you suggest any best practice for that?
I am running a single sprint boot application which also starts ignite. In
order to keep the deployment simple, I was trying to avoid a dedicated node
for ignite only. 



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Data-streamers-How-to-ensure-loading-data-for-the-current-partition-only-tp10949p10960.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Data streamers: How to ensure loading data for the current partition only

Posted by Sumanta Ghosh <su...@yahoo.com>.
Yes - so taking CacheLoader route then. Thanks a lot for clearing this up.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Data-streamers-How-to-ensure-loading-data-for-the-current-partition-only-tp10949p10996.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Data streamers: How to ensure loading data for the current partition only

Posted by vkulichenko <va...@gmail.com>.
Sumanta,

Streamer is generally used on a client node to stream data into the cluster.
It only can be created by your code, so you have full control on how many
streamers are there.

If you want to pull data directly from server nodes, use
CacheStore.loadCache instead.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Data-streamers-How-to-ensure-loading-data-for-the-current-partition-only-tp10949p10981.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.