Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor shutdown sequence to use plugin.stop #11

Closed
jsvd opened this issue Sep 11, 2015 · 0 comments
Closed

refactor shutdown sequence to use plugin.stop #11

jsvd opened this issue Sep 11, 2015 · 0 comments
Assignees

Comments

@jsvd
Copy link
Member

jsvd commented Sep 11, 2015

Change shutdown sequence to be triggered by plugin.stop instead of ShutdownSignal exception.
Also remove any calls to: shutdown, finished, finished?, running? or terminating?
This depends on elastic/logstash#3895

guyboertje added a commit to guyboertje/logstash-input-snmptrap that referenced this issue Sep 23, 2015
add it_behaves_like "an interruptible input plugin" shared example
refactor plugin slightly

make error handling sleep stoppable

use Stud.stoppable_sleep

remove super call in stop

fix question mark typo

add plain codec dep to gemspec

closes logstash-plugins#11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants