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

Fix missing ACK in redis output #5441

Merged
merged 1 commit into from
Oct 25, 2017
Merged

Conversation

urso
Copy link

@urso urso commented Oct 25, 2017

Resolves: #5404

@urso urso added the bug label Oct 25, 2017
@@ -128,7 +128,10 @@ func (c *client) Publish(batch publisher.Batch) error {
if rest != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Question so I would undestand: what does publish only return event if an error occured?

Copy link
Contributor

@kvch kvch Oct 25, 2017

Choose a reason for hiding this comment

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

Now I see what is happening here. I asked too early. :)

Copy link
Author

Choose a reason for hiding this comment

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

The publish functions do return the events not being published yet. Normally that's true if an error occured. We always return the error value, just in case.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks.

Copy link
Contributor

@tsg tsg left a comment

Choose a reason for hiding this comment

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

WFG

@tsg tsg added the needs_backport PR is waiting to be backported to other branches. label Oct 25, 2017
@tsg tsg merged commit 103979f into elastic:6.0 Oct 25, 2017
tsg pushed a commit to tsg/beats that referenced this pull request Oct 27, 2017
@tsg tsg removed the needs_backport PR is waiting to be backported to other branches. label Oct 27, 2017
exekias pushed a commit that referenced this pull request Oct 27, 2017
@urso urso deleted the fix/redis-missing-ack branch February 19, 2019 18:53
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants