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

丶灬走出姿态 提交于 2019-12-25 07:47:45

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/21162617/apache-flume-stopped-streaming-twitter-data-after-twitter-api-ssl-tls-mandatory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!