Here how it will look in the code:
https://github.com/ezhuravl/ignite-code-examples/tree/master/src/main/java/examples/service/scheduler

пн, 2 мар. 2020 г. в 15:23, Evgenii Zhuravlev <e.zhuravlev...@gmail.com>:

> Hi,
>
> There is no pooler out of the box, but you can simply implement one as a
> Service. Even if one of the nodes with this service will be stopped,
> Cluster will manage to restart the service on another node.
> org.apache.ignite.services.Service.execute() should be implemented as
> queue pooler.
>
> https://apacheignite.readme.io/docs/service-grid
>
> Best Regards,
> Evgenii
>
> вс, 1 мар. 2020 г. в 10:05, Narsi Reddy Nallamilli <
> narsi.nallami...@gmail.com>:
>
>> Hi,
>>
>> Is there a queue poller built-in ignite which constantly and indefinitely
>> polls the queue and can perform some task?
>>
>> I know only way is to write igniterunnable compute where i should run
>> loop forever and perform the task on ignite queue element? But this is bad
>> as there are cases when the compute dies and no one can resume it or track
>> it.
>>
>> Is there a way a where we add some ignite runnable queue elements and the
>> elements pop up automatically and gets executed without any trigger?
>>
>

Reply via email to