Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
More explicit readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffchao committed Dec 8, 2017
1 parent 87eacef commit 08a1a78
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```

0 comments on commit 08a1a78

Please sign in to comment.