Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/405#discussion_r12035517
--- Diff:
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala
---
@@ -66,6 +90,28 @@ object FlumeUtils {
port: Int,
storageLevel: StorageLevel
): JavaDStream[SparkFlumeEvent] = {
- createStream(jssc.ssc, hostname, port, storageLevel)
+ createStream(jssc.ssc, hostname, port, storageLevel, false)
+ }
+
+ /**
+ * Creates a input stream from a Flume source.
+ * @param hostname Hostname of the slave machine to which the flume data
will be sent
+ * @param port Port of the slave machine to which the flume data
will be sent
+ * @param storageLevel Storage level to use for storing the received
objects
+ * @param enableCompression Should Netty Server decode input stream
from client
--- End diff --
same comment as above, for enableCompression.
---
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.
---