Hi Mav,

I've never written any commit hooks myself really, but it looks like we
have some examples you could check out here:

https://github.com/basho/riak_function_contrib

Additionally, if you haven't already, you should check out the official
Basho commit hook docs here:

http://docs.basho.com/riak/kv/2.1.4/developing/usage/commit-hooks/

Since commit hooks are written in Erlang and loaded directly into the Riak
node, you should be able to achieve any of those things that you mentioned
just by writing the appropriate Erlang code to do it. I know that may not
be super helpful to you if you don't know Erlang, but I believe that's the
only language we support for commit hooks at this time, so hopefully that's
not a showstopper.

Hope that helps!
Nick

On Mon, Nov 7, 2016 at 9:20 AM, Mav erick <mav4...@gmail.com> wrote:

> Hello Folks
>
> I am looking for a really simple hook (pre or post commit) that will do
> send http put of the key to a server. I could also live with some simple
> send of the key via a tcp connection, or for that matter pipe the key value
> to a local process
>
> Any pointers on how to create such a hook or an example would be greatly
> appreciated
>
> Regards
> Mav
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to