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

logstash-input-twitter as a default plugin #10934

Merged

Conversation

colinsurprenant
Copy link
Contributor

This simply sets "default-plugins": true on the logstash-input-twitter.

This is a followup on #10928 where setting logstash-input-twitter as a default plugin resulted in a build failure. It was reverted for the sake of moving forward the BC builds.

We can now deal with build issues here separately.

@colinsurprenant
Copy link
Contributor Author

Ah! Great, I can reproduce locally! Onto investigation.

@colinsurprenant
Copy link
Contributor Author

Can of worms. The twitter gem 5.x.x depends on faraday ~> 0.9.0 but faraday is already resolved to 0.15.4 in logstash Gemfile.lock.

Now, newer twitter gem v6 drops faraday dependency but we have a bunch of monkey patches that probably don't apply anymore on the newer twitter gem version. I removed the monkey patches and specs are passing. Now manually trying to slurp a twitter feed to see it it really works.

@colinsurprenant
Copy link
Contributor Author

This will be fixed by logstash-plugins/logstash-input-twitter#63

@colinsurprenant
Copy link
Contributor Author

logstash-input-twitter v4.0.1 was published which fixes the dependency issue and the build is now green.

@elasticsearch-bot elasticsearch-bot self-assigned this Jul 11, 2019
Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

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

LGTM

@colinsurprenant colinsurprenant merged commit 0c85857 into elastic:master Jul 11, 2019
@colinsurprenant
Copy link
Contributor Author

@jsvd since this was done in the context of #10928 for 7.3.0 should we still backport this in 7.3.0 ?

@jsvd
Copy link
Member

jsvd commented Jul 12, 2019

@colinsurprenant yep, let's merge to all: 7.x, 7.3 and 7.2, the plugin is a default one and has been packed with logstash for a long time

@colinsurprenant
Copy link
Contributor Author

In 7.2 the twitter input was already in the defaults 🤔
backported to 7.3 and 7.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants