Currently my application itself has a scheduled timer task which handles roll over tasks in given periods. It works fine when there is only one instance of my application but when there are multiple instances, every instance is calling roll_over same time and this cases problems.
I recently got to know that we could write plug-ins for elasticsearch. Therefore I was wondering if writing a plug-in for rollover is possible and if so I would appreciate some pointers on how to go about it?
PS: I've already looked at this https://github.com/karussell/elasticsearch-rollindex and it is outdated and it does not include a timer task kind of a thing.
Thanks in advance.