This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,15 +70,34 @@ Install the Heroku Kafka CLI Plugin: | |
heroku plugins:install heroku-kafka | ||
``` | ||
|
||
Clone the application: | ||
|
||
``` | ||
$ git clone [email protected]:jeffchao/kafka-streams-on-heroku.git | ||
``` | ||
|
||
Create the application: | ||
|
||
``` | ||
$ cd kafka-streams-on-heroku | ||
$ heroku apps:create <application name> | ||
``` | ||
|
||
Deploy the application: | ||
|
||
``` | ||
$ git push heroku master | ||
``` | ||
|
||
Run the setup script: | ||
|
||
``` | ||
./setup <app name> <plan> | ||
$ ./setup <app name> <plan> | ||
``` | ||
|
||
### Smoke Testing | ||
|
||
``` | ||
heroku kafka:topics:write [prefix]textlines "hello world" -a <app> | ||
heroku pg:psql -c 'select * from windowed_counts' HEROKU_POSTGRESQL_URL -a <app> | ||
$ heroku kafka:topics:write [prefix]textlines "hello world" -a <app> | ||
$ heroku pg:psql -c 'select * from windowed_counts' HEROKU_POSTGRESQL_URL -a <app> | ||
``` |