wuchong commented on a change in pull request #9415: [FLINK-12939][docs-zh] 
Translate "Apache Kafka Connector" page into C…
URL: https://github.com/apache/flink/pull/9415#discussion_r312739165
 
 

 ##########
 File path: docs/dev/connectors/kafka.zh.md
 ##########
 @@ -511,15 +421,15 @@ FlinkKafkaConsumer08<String> myConsumer =
 myConsumer.assignTimestampsAndWatermarks(new CustomWatermarkEmitter());
 
 DataStream<String> stream = env
-       .addSource(myConsumer)
-       .print();
+  .addSource(myConsumer)
+  .print();
 {% endhighlight %}
 </div>
 <div data-lang="scala" markdown="1">
 {% highlight scala %}
 val properties = new Properties()
 properties.setProperty("bootstrap.servers", "localhost:9092")
-// only required for Kafka 0.8
+// 仅限于 Kafka 0.8 使用
 
 Review comment:
   ```suggestion
   // 仅 Kafka 0.8 需要
   ```

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


With regards,
Apache Git Services

Reply via email to