Giter VIP home page Giter VIP logo

Comments (11)

zznate avatar zznate commented on May 27, 2024

+1 on that. Fantastic idea. @adejanovski what do you think the scope of something like this might be?

from cassandra-reaper.

adejanovski avatar adejanovski commented on May 27, 2024

That would be nice indeed.
The way I see it, we could trigger calling a url through HTTP on different events (repair started, failed, finished) to have generic push of events. Callbacks should be registered through the UI and stored in the database.

Having observers through pluggable classes would require users to recompile Reaper which we might not want.

Another way to make it very generic would be to allow people to write Groovy scripts to register callbacks.

And of course we can maintain a set of specific triggers in the Reaper codebase to ease integration with Slack, etc...

@rustyrazorblade @zznate : thoughts ?

from cassandra-reaper.

rustyrazorblade avatar rustyrazorblade commented on May 27, 2024

URL callbacks sound great. Better than what I had suggested. +1 from me
On Fri, Oct 28, 2016 at 3:32 AM Alexander Dejanovski <
[email protected]> wrote:

That would be nice indeed.
The way I see it, we could trigger calling a url through HTTP on different
events (repair started, failed, finished) to have generic push of events.
Callbacks should be registered through the UI and stored in the database.

Having observers through pluggable classes would require users to
recompile Reaper which we might not want.

Another way to make it very generic would be to allow people to write
Groovy scripts to register callbacks.

And of course we can maintain a set of specific triggers in the Reaper
codebase to ease integration with Slack, etc...

@rustyrazorblade https://github.com/rustyrazorblade @zznate
https://github.com/zznate : thoughts ?


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUn0A3ZUWhz1VY4O0aNN_LuIy3BuotUks5q4c8_gaJpZM4KgPGm
.

from cassandra-reaper.

rustyrazorblade avatar rustyrazorblade commented on May 27, 2024

How about we design an interface for event handling and do an implementation as HTTP callbacks? It solves most people's needs but also give an escape hatch for folks that want something really simple, like an email when things fail. See #79

from cassandra-reaper.

michaelsembwever avatar michaelsembwever commented on May 27, 2024

👍

from cassandra-reaper.

Ritu-Thakur avatar Ritu-Thakur commented on May 27, 2024

@michaelsembwever
Is this email feature already developed in some other branch or is it in pipeline?

from cassandra-reaper.

rustyrazorblade avatar rustyrazorblade commented on May 27, 2024

It's only been discussed here. Are you interested in working on it @ritu0407 ?

from cassandra-reaper.

Ritu-Thakur avatar Ritu-Thakur commented on May 27, 2024

@rustyrazorblade
This is our first attempt to use reaper in the project. Right now we don't have any plans to enhance the tool and as long as we have a way to check the logs to know if it's working or not, that's good enough.
Thanks for developing this tool !

from cassandra-reaper.

rustyrazorblade avatar rustyrazorblade commented on May 27, 2024

When we start working on it, we'll update this issue and the work will be in a branch here. Would you be able to help us test it and give feedback along its development?

from cassandra-reaper.

Ritu-Thakur avatar Ritu-Thakur commented on May 27, 2024

Sure, we can test it.

from cassandra-reaper.

richardchesse avatar richardchesse commented on May 27, 2024

I think the implementation here has overshadowed the importance of the actual feature. Having configuration options for simple shell scripts for start, end, failure of repair runs is important for a set-it-and-forget-it tool like this (what a former colleague calls the "Ronco toolsuite"). Reaper runs generally once a week for most orgs and works well. Until one week you have a repair that doesn't finish for some reason and then it runs for 21 days straight or is erroring out silently because no one looks at it. Simple shell script hooks would go a long way here. People can hook into whatever notification systems they want from there.

from cassandra-reaper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.