Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/6830#discussion_r32834064
--- Diff: docs/streaming-flume-integration.md ---
@@ -129,6 +138,12 @@ configuring Flume agents.
JavaReceiverInputDStream<SparkFlumeEvent>flumeStream =
FlumeUtils.createPollingStream(streamingContext, [sink
machine hostname], [sink port]);
</div>
+ <div data-lang="python" markdown="1">
--- End diff --
I updated the doc. Because there is no a Python example for
`FlumeUtils.createPollingStream` (it requires the user installing the Spark
sink jar to Flume, so we cannot write an out-of-the-box example), I just copied
the description of the encoding function to here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]