Created
December 8, 2017 20:31
-
-
Save crcastle/9b6512564c9660cbfac8420833253644 to your computer and use it in GitHub Desktop.
kafka-streams-test word count
This file contains hidden or 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
ξ ξ° ~/src/kafka-streams-on-heroku ξ° master π· ξ° 59s | |
π h kafka:topics:write tombigbee-17823.textlines "the quick brown fox jumps over the lazy dog" -a kafka-streams-test | |
ξ ξ° ~/src/kafka-streams-on-heroku ξ° master π· ξ° | |
π heroku pg:psql -c 'select * from windowed_counts' HEROKU_POSTGRESQL_URL -a kafka-streams-test | |
--> Connecting to postgresql-vertical-36453 | |
ββββββ¬ββββββββββββββββ¬ββββββββ¬ββββββββ | |
β id β time_window β word β count β | |
ββββββΌββββββββββββββββΌββββββββΌββββββββ€ | |
β 21 β 1512765050000 β brown β 1 β | |
β 22 β 1512765050000 β jumps β 1 β | |
β 23 β 1512765050000 β over β 1 β | |
β 24 β 1512765050000 β the β 1 β | |
β 25 β 1512765050000 β the β 2 β | |
β 26 β 1512765050000 β dog β 1 β | |
β 27 β 1512765050000 β fox β 1 β | |
β 28 β 1512765050000 β lazy β 1 β | |
β 29 β 1512765050000 β quick β 1 β | |
ββββββ΄ββββββββββββββββ΄ββββββββ΄ββββββββ | |
(9 rows) | |
Time: 68.519 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment