Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 3, 2020 04:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/ab09ae636aebc1368b0f012341bfca7d to your computer and use it in GitHub Desktop.
Save velotiotech/ab09ae636aebc1368b0f012341bfca7d to your computer and use it in GitHub Desktop.
# 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