Apache Flume stopped streaming Twitter data after Twitter API SSL/TLS mandatory requirements.

StackOverflow https://stackoverflow.com/questions/21162617

  •  28-09-2022
  •  | 
  •  

문제

I have followed cloudera's tutorial (http://blog.cloudera.com/blog/2012/09/analyzing-twitter-data-with-hadoop/) for an application to ingest twitter data into HDFS using Apache Flume. Twitter has restricted its api connection to SSL/TLS only with effect from 15th January 2014. After this change my Flume agent has stopped streaming the twitter data. Kindly reply if you have already implemented the respective changes to cater for new requirements based on specs in follwoing article. https://dev.twitter.com/docs/security/using-ssl

Thanks, Hussnain

도움이 되었습니까?

해결책

issue got resolved after I installed newer version of twitter4j i.e v 3.0.3 that is using HTTPS. For reference see
jira.twitter4j.org/browse/TFJ-632
and comments on

http://www.datadansandler.com/2013/03/making-clouderas-twitter-stream-real.html?showComment=1390047763159#c8713000610110252026

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top