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

Publisher options cleanup #684

Merged
merged 1 commit into from
Jan 12, 2016
Merged

Publisher options cleanup #684

merged 1 commit into from
Jan 12, 2016

Conversation

urso
Copy link

@urso urso commented Jan 11, 2016

  • have separate sync and guaranteed options:
    • sync: just blocks until output plugin finished processing events
      to be published
    • guaranteed: is passed and handled in output plugin. If options is set,
      sending is retried until success.
  • guaranteed sending is handled by output plugin retrying infinitely until
    events have been ACKed.
  • introduce Signal options for async confirmation about success/failure

}

// TODO: add backoff
time.Sleep(1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to add this later? Ok for me but I suggest to open an issue then.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No plans to add anything to redis module right now. The redis module has become orphaned and basically needs to be rewritten to use the outputs/modes module like elasticsearch and logstash outputs do.

@ruflin
Copy link
Member

ruflin commented Jan 12, 2016

LGTM. Don't forget CHANGELOG and I would suggest to squash the commits before merge.

- have separate sync and guaranteed options:
  - sync: just blocks until output plugin finished processing events
    to be published
  - guaranteed: is passed and handled in output plugin. If options is set,
    sending is retried until success.

- guaranteed sending is handled by output plugin retrying infinitely until
  events have been ACKed.

- Introduce publish Signal option

- Update publisher options in filebeat/winlogbeat
ruflin added a commit that referenced this pull request Jan 12, 2016
@ruflin ruflin merged commit 521c6c5 into elastic:master Jan 12, 2016
@urso urso deleted the enh/pub-opts branch January 12, 2016 09:22
@andrewkroh andrewkroh mentioned this pull request Jan 14, 2020
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants