Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# import required libraries
from kafka import SimpleProducer, KafkaClient
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
from twitter_config import consumer_key, consumer_secret, access_token, access_token_secret
import json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment