beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] incubator-beam git commit: KafkaIO javadoc update
Date Tue, 07 Jun 2016 19:45:32 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master b9845a700 -> fcf5bc71d


KafkaIO javadoc update


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/3f79c48c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/3f79c48c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/3f79c48c

Branch: refs/heads/master
Commit: 3f79c48c2ba31f72654a0f722996c2c32a035896
Parents: b9845a7
Author: Raghu Angadi <rangadi@google.com>
Authored: Tue Jun 7 09:55:34 2016 -0700
Committer: Dan Halperin <dhalperi@google.com>
Committed: Tue Jun 7 12:45:14 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/3f79c48c/sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java
----------------------------------------------------------------------
diff --git a/sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java b/sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java
index 9645d7c..d540a8d 100644
--- a/sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java
+++ b/sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIO.java
@@ -167,9 +167,8 @@ import javax.annotation.Nullable;
  *
  * <pre>{@code
  *
- *  pipeline
- *    .apply(...) // returns PCollection<KV<Long, String>>
- *    .apply(KafkaIO.write()
+ *  PCollection<KV<Long, String>> kvColl = ...;
+ *  kvColl.apply(KafkaIO.write()
  *       .withBootstrapServers("broker_1:9092,broker_2:9092")
  *       .withTopic("results")
  *


Mime
View raw message