pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] erenavsarogullari commented on a change in pull request #3265: [flink-consumer-source] fix up streaming to be consistent with batch
Date Sat, 29 Dec 2018 19:57:37 GMT
erenavsarogullari commented on a change in pull request #3265:  [flink-consumer-source] fix
up streaming to be consistent with batch
URL: https://github.com/apache/pulsar/pull/3265#discussion_r244507314
 
 

 ##########
 File path: examples/flink-consumer-source/src/main/java/org/apache/flink/streaming/connectors/pulsar/example/README.md
 ##########
 @@ -95,3 +95,186 @@ $ bin/pulsar-client consume -n 0 -s test test_dest
 ```
 
 You will see similar results as what you see at step 6 when running the word count example
to print results to stdout.
+
+
+### PulsarConsumerSourceWordCountToAvroTableSink
+
+This Flink streaming job is consuming from a Pulsar topic and counting the wordcount in a
streaming fashion. The job can write the word count results
+to csv file or another Pulsar topic for json format.
+
+The steps to run the example:
+
+1. Start Pulsar Standalone.
 
 Review comment:
   `PulsarConsumerSourceWordCount` already explains `Step 1, 2 and 3` so we can define as
`Step 1, 2 and 3 are same as above.` in 
   ```
   PulsarConsumerSourceWordCountToAvroTableSink
   PulsarConsumerSourceWordCountToJsonTableSink
   ```
   Ref: https://github.com/apache/pulsar/blob/master/examples/flink-consumer-source/src/main/java/org/apache/flink/batch/connectors/pulsar/example/README.md

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message