ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Mashenkov <amashen...@gridgain.com>
Subject Fwd: Transaction Boundary - Data Streamer
Date Mon, 19 Jun 2017 12:39:59 GMT
Crossposting to dev.

Igniters,

Would someone please update documentation that IgniteDataStreamer is not
designed to be used inside transactions?


---------- Forwarded message ----------
From: Andrey Mashenkov <amashenkov@gridgain.com>
Date: Mon, Jun 19, 2017 at 3:37 PM
Subject: Re: Transaction Boundary - Data Streamer
To: user@ignite.apache.org


Hi Ganesh,

This will not work. IgniteDataStreamer is not transactional by design.



On Thu, Jun 15, 2017 at 10:37 AM, Sri Ganesh V <vsriganesh@yahoo.co.in>
wrote:

> Hi,
>
> Is it possible to use streamers to add data to different transactional
> caches with transaction boundary defined?
>
> Example :
>         Transaction tx = ignite.transactions().txStart();
>
>            strmr1.addData(1,"xyz"); // strmr1 is configured to stream data
> to cache1 (cache1-transactional)
>            strmr2.addData(2,"abc"); // strmr2 is configured to stream data
> to cache2 (cache2-transactional)
>
>         tx.commit();
>
> Please suggest the best way to achieve this with optimal performance for
> both cache inserts and updates.
>
> Thanks,
> Ganesh
>
>
>
> --
> View this message in context: http://apache-ignite-users.705
> 18.x6.nabble.com/Transaction-Boundary-Data-Streamer-tp13803.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message