Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Install the kakfa plugin
- heroku plugins:install heroku-kafka
- # Get the code
- git clone git@heroku.com:heroku/kafka-workshop.git
- # Create the app and addon
- APP=whatever-you-want
- heroku apps:create $APP
- heroku addons:create -a $APP heroku-kafka:standard-0
- heroku addons:create -a $APP heroku-postgresql:hobby-dev
- heroku kafka:wait -a $APP
- heroku pg:wait -a $APP
- # Let's see what configs we got!
- heroku config -a $APP
- # Create a topic:
- heroku kafka:topics:create -a $APP messages
Add Comment
Please, Sign In to add comment