Extra-Life Events Stream
heroku plugins:install heroku-kafka
- If not already done
heroku labs:enable runtime-dyno-metadata -a <app name>
heroku kafka:topics:create --app=fragevents-stage events --retention-time=7d --replication-factor=3 --partitions=8
- Max out retention time up to 14d for prod
heroku kafka:topics:create --app=fragevents-stage teams --compaction --retention-time=7d --replication-factor=3 --partitions=8
- Max out retention time up to 14d for prod
heroku kafka:topics:create --app=fragevents-stage participants --compaction --retention-time=7d --replication-factor=3 --partitions=8
- Max out retention time up to 14d for prod
heroku kafka:topics:create --app=fragevents-stage donations --compaction --retention-time=7d --replication-factor=3 --partitions=8
- Max out retention time up to 14d for prod
- Set config CFG_GROUPCACHE_TOKEN to a random string of alpha-num between 32 and 128 chars
- Needs to be in a private space
- Enable dns discovery
heroku features:enable spaces-dns-discovery --app