Implementation of the possibility of "subscribe"

John Daily jdaily at basho.com
Tue Jan 27 09:51:29 EST 2015


And to answer your original question more directly: no, Riak does not make
update events visible to clients. As Alexander indicates, you're going to
have to implement something extra.

-John

On Monday, January 26, 2015, Alexander Sicular <siculars at gmail.com> wrote:

> Well, the general case would be when the client returns a successful write
> you do something. It's just a question of where you do the processing, in
> Riak via a pre/post commit hook or in application space in a client.
> -Alexander
>
>
> @siculars
> http://siculars.posthaven.com
>
> Sent from my iRotaryPhone
>
> On Jan 24, 2015, at 08:55, Никита Нежевский <empthynickname at gmail.com
> <javascript:_e(%7B%7D,'cvml','empthynickname at gmail.com');>> wrote:
>
> Thank you for your reply, I will try to use post-commit hooks. But is it
> possible to realize this possibility at riak-erlang-client?
>
> Sat Jan 24 2015 at 0:12:57, John Daily <jdaily at basho.com
> <javascript:_e(%7B%7D,'cvml','jdaily at basho.com');>>:
>
>> You may wish to take a look at the support for post-commit hooks:
>> http://docs.basho.com/riak/latest/dev/advanced/commit-hooks/
>>
>> -John
>>
>> On Jan 23, 2015, at 1:54 PM, Никита Нежевский <empthynickname at gmail.com
>> <javascript:_e(%7B%7D,'cvml','empthynickname at gmail.com');>> wrote:
>>
>> > Hello.
>> > I've used riak for online processing of incoming data and faced with
>> problem.
>> > I've used riak-erlang client. It has a function that allows to get all
>> keys that are in the bucket. But I'd like to receive data continuously as
>> thay arrive (that is to realize a subscribe)
>> > I asked this question on SO and got the answer that the standart tools
>> to do it will not work.
>> > I'd like to realize this opportunity. Is it possible to do this by
>> modifying the riak-erlang-clent?
>> > _______________________________________________
>> > riak-users mailing list
>> > riak-users at lists.basho.com
>> <javascript:_e(%7B%7D,'cvml','riak-users at lists.basho.com');>
>> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>  _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> <javascript:_e(%7B%7D,'cvml','riak-users at lists.basho.com');>
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150127/b6d08161/attachment-0002.html>


More information about the riak-users mailing list