Skip to content

Commit 40d174f

Browse files
author
Raghu Angadi
committed
review comments
1 parent 3e61162 commit 40d174f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contrib/kafka/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# KafkaIO : Dataflow Unbounded Source and Sink for Kafka Topics
22

3-
KafkaIO provides unbounded sources and sinks for [Kafka](https://www.firebase.com/)
4-
topics. Kafka version 0.9 and above are supported.
3+
KafkaIO provides unbounded source and sink for [Kafka](http://kafka.apache.org/)
4+
topics. Kafka versions 0.9 and above are supported.
55

66
## Basic Usage
77

88
* Read from a topic with 8 byte long keys and string values:
99
```java
1010
PCollection<KV<Long, String>> kafkaRecords =
1111
pipeline
12-
.applY(KafkaIO.read()
12+
.apply(KafkaIO.read()
1313
.withBootstrapServers("broker_1:9092,broker_2:9092")
1414
.withTopics(ImmutableList.of("topic_a"))
1515
.withKeyCoder(BigEndianLongCoder.of())
@@ -25,6 +25,7 @@ topics. Kafka version 0.9 and above are supported.
2525
.withTopic("results")
2626
.withKeyCoder(BigEndianLongCoder.of())
2727
.withValueCoder(StringUtf8Coder.of())
28+
);
2829
```
2930

3031
Please see JavaDoc for KafkaIO in

0 commit comments

Comments
 (0)