See: Description
| Interface | Description |
|---|---|
| KafkaIOExamples.KafkaOptions |
Custom options for the Pipeline.
|
| KafkaWindowedWordCountExample.KafkaStreamingWordCountOptions |
Pipeline options.
|
| WindowedWordCount.StreamingWordCountOptions |
Pipeline options.
|
| Class | Description |
|---|---|
| AutoComplete |
To run the example, first open a socket on a terminal by executing the command:
nc -lk 9999
and then launch the example. |
| AutoComplete.ComputeTopCompletions |
A PTransform that takes as input a list of tokens and returns
the most common tokens per prefix.
|
| JoinExamples |
To run the example, first open two sockets on two terminals by executing the commands:
nc -lk 9999, and
nc -lk 9998
and then launch the example. |
| KafkaIOExamples |
Recipes/Examples that demonstrate how to read/write data from/to Kafka.
|
| KafkaIOExamples.KafkaAvro |
Read/Write Avro data to Kafka.
|
| KafkaIOExamples.KafkaAvro.ReadAvroFromKafka |
Read Avro data from Kafka.
|
| KafkaIOExamples.KafkaAvro.WriteAvroToKafka |
Write Avro data to Kafka.
|
| KafkaIOExamples.KafkaString |
Read/Write String data to Kafka.
|
| KafkaIOExamples.KafkaString.ReadStringFromKafka |
Read String data from Kafka.
|
| KafkaIOExamples.KafkaString.WriteStringToKafka |
Write String data to Kafka.
|
| KafkaWindowedWordCountExample |
Wordcount example using Kafka topic.
|
| KafkaWindowedWordCountExample.ExtractWordsFn |
Function to extract words.
|
| KafkaWindowedWordCountExample.FormatAsStringFn |
Function to format KV as String.
|
| WindowedWordCount |
To run the example, first open a socket on a terminal by executing the command:
nc -lk 9999
and then launch the example. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.