Skip to content

Commit

Permalink
Fix the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Jun 19, 2015
1 parent 0336579 commit 4762c34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/streaming-flume-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ configuring Flume agents.

addresses = [([sink machine hostname 1], [sink port 1]), ([sink machine hostname 2], [sink port 2])]
flumeStream = FlumeUtils.createPollingStream(streamingContext, addresses)

By default, the Python API will decode Flume event body as UTF8 encoded strings. You can specify your custom decoding function to decode the body byte arrays in Flume events to any arbitrary data type.
See the [API docs](api/python/pyspark.streaming.html#pyspark.streaming.flume.FlumeUtils).
</div>
</div>

Expand Down

0 comments on commit 4762c34

Please sign in to comment.