sensu / sensu-transport

The Sensu transport abstraction library.
MIT License
14 stars 19 forks source link

[ SENSU && Rabbit ] : Timer based re-connection #11

Open chiriaev opened 9 years ago

chiriaev commented 9 years ago

Guys, Hi. Would a SENSU client-related feature to re-set/re-connect your Rabbit transport every configurable once in a while, makes sense? One use-case would be to re-balance client connections over a VIP faced Rabbit cluster. It could look like that in a "transport" block: ... { "transport": { "name": "stomp", "reconnect": "15" } } ... I already facilitated a similar change in NXLOG: ...

<Schedule>
    Every   15 min
    Exec    reconnect();
</Schedule>

...

Opinions?

Regards, Andrei

portertech commented 9 years ago

Perhaps it should use seconds as the unit, to be consistent with the other time attributes?

chiriaev commented 9 years ago

Hi, Sean. Agreed. Regards, Andrei

chiriaev commented 9 years ago

Hi, Sean. Is this feature planned? Thanks in advance. Regards, Andrei

chiriaev commented 8 years ago

Hi, @portertech . Any luck on integrating this one. Thanks in advance. Regards, Andrei

calebhailey commented 8 years ago

@chiriaev hi there! Sorry for the radio silence on this one. We've had a bunch of other balls in the air related to the transport, but we should be able to revisit this soon.