you need to run kafka and update its url in application.properties. [Follow this link to run and create a kafka topic] (https://kafka.apache.org/quickstart) you have to create a topic called 'tweets'
you need to run the mongodb and provide it's connection configuration in application properties.