Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Pause

irieksts edited this page · 2 revisions
Clone this wiki locally

Trigger puase

pause:

curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/PAUSED -d "enabled" && echo

unpause:

curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/PAUSED -d "disabled" && echo

Paused vs disabled:

  • Paused will continue to build up a "queue" of transactions to process, but will not execute any triggers for that column family.
  • Disable will ignore that trigger, execute other triggers and remove transactions from the "queue".

enable/disable

curl -X PATCH http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/ -d "{\"com.foo.Trigger\":\"disabled\"}" && echo

OR

curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/com.foo.Trigger -d "disabled" && echo
Something went wrong with that request. Please try again.