Re: Change Data Capture Feature

2020-08-14 Thread Pavel Strashkin
This is exactly what I was looking for, Denis. Thanks a lot!

On Fri, Aug 14, 2020 at 10:02 AM Denis Magda  wrote:

> Hello Pavel,
>
> GridGain supports a Kafka Connect integration that supports all
> sophisticated CDC scenarios:
> https://www.gridgain.com/docs/latest/integrations/kafka/cert-kafka-connect
>
> Debezium is another option. This article covers how to capture changes
> with GridGain Kafka Connect
> <https://www.gridgain.com/resources/blog/change-data-capture-between-mysql-and-gridgain-debezium>
>  while
> that's not the only option for sure.
>
> Finally, continuous  queries is a way to go as well but you have to keep
> track of messages that have already been pushed to a Kafka topic. So, that
> last position has to be maintained in Ignite somehow.
>
> -
> Denis
>
>
> On Thu, Aug 13, 2020 at 8:48 AM Pavel Strashkin 
> wrote:
>
>> Hello,
>>
>> Is there a Change Data Capture (CDC) feature in plans to make it possible
>> to stream cache updates to Kafka for example?
>>
>> I've found the Continuous Queries feature, but it's not clear to me
>> whether it's possible to use it for implementation. What's missing it seems
>> is ability to start from the last position whenever the client restarts.
>>
>> Thanks.
>>
>


Change Data Capture Feature

2020-08-13 Thread Pavel Strashkin
Hello,

Is there a Change Data Capture (CDC) feature in plans to make it possible
to stream cache updates to Kafka for example?

I've found the Continuous Queries feature, but it's not clear to me whether
it's possible to use it for implementation. What's missing it seems is
ability to start from the last position whenever the client restarts.

Thanks.


Re: How to remove IgniteAtomicLong using REST API?

2020-08-12 Thread Pavel Strashkin
I don't see it being part of REST API - is it missing indeed or my eyes
aren't that good anymore? :)

(clients aren't Java-based - mostly node.js).

Thanks for prompt responses. I appreciate it.

On Wed, Aug 12, 2020 at 7:13 AM Ilya Kasnacheev 
wrote:

> Hello!
>
> You need to issue atomicLong.close().
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> ср, 12 авг. 2020 г. в 16:58, Pavel Strashkin :
>
>> There are “incr” and “decr” commands for atomics exposed via REST, but
>> what if I need to delete it?
>>
>> On Wed, Aug 12, 2020 at 6:42 AM Ilya Kasnacheev <
>> ilya.kasnach...@gmail.com> wrote:
>>
>>> Hello!
>>>
>>> Please elaborate wrt "doesn't really remove the key".
>>>
>>> REST, etc, do not have access to system caches (where atomics are
>>> stored) neither do they have API to deal with atomics.
>>>
>>> Regards.
>>> --
>>> Ilya Kasnacheev
>>>
>>>
>>> ср, 12 авг. 2020 г. в 08:12, Pavel Strashkin >> >:
>>>
>>>> Hi there,
>>>>
>>>> It seems atomic longs are stored in a special system cache as the "rmv"
>>>> command doesn't really remove the key.
>>>>
>>>> Is there a way to remove IgniteAtomicLong using REST API? If not - what
>>>> would it take to add such a command? Is there any other option like thin
>>>> client?
>>>>
>>>> Thanks.
>>>>
>>>


Re: How to remove IgniteAtomicLong using REST API?

2020-08-12 Thread Pavel Strashkin
There are “incr” and “decr” commands for atomics exposed via REST, but what
if I need to delete it?

On Wed, Aug 12, 2020 at 6:42 AM Ilya Kasnacheev 
wrote:

> Hello!
>
> Please elaborate wrt "doesn't really remove the key".
>
> REST, etc, do not have access to system caches (where atomics are stored)
> neither do they have API to deal with atomics.
>
> Regards.
> --
> Ilya Kasnacheev
>
>
> ср, 12 авг. 2020 г. в 08:12, Pavel Strashkin :
>
>> Hi there,
>>
>> It seems atomic longs are stored in a special system cache as the "rmv"
>> command doesn't really remove the key.
>>
>> Is there a way to remove IgniteAtomicLong using REST API? If not - what
>> would it take to add such a command? Is there any other option like thin
>> client?
>>
>> Thanks.
>>
>


How to remove IgniteAtomicLong using REST API?

2020-08-11 Thread Pavel Strashkin
Hi there,

It seems atomic longs are stored in a special system cache as the "rmv"
command doesn't really remove the key.

Is there a way to remove IgniteAtomicLong using REST API? If not - what
would it take to add such a command? Is there any other option like thin
client?

Thanks.