File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
extras/kinesis-asl/src/main
java/org/apache/spark/examples/streaming
scala/org/apache/spark/streaming/kinesis Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 7575 * onto the Kinesis stream.
7676 * Usage instructions for KinesisWordCountProducerASL are provided in the class definition.
7777 */
78- final class JavaKinesisWordCountASL {
78+ public final class JavaKinesisWordCountASL { // needs to be public for access from run-example
7979 private static final Pattern WORD_SEPARATOR = Pattern .compile (" " );
8080 private static final Logger logger = Logger .getLogger (JavaKinesisWordCountASL .class );
8181
@@ -87,10 +87,10 @@ public static void main(String[] args) {
8787 /* Check that all required args were passed in. */
8888 if (args .length < 2 ) {
8989 System .err .println (
90- "| Usage: KinesisWordCount <stream-name> <endpoint-url>\n " +
91- "| <stream-name> is the name of the Kinesis stream\n " +
92- "| <endpoint-url> is the endpoint of the Kinesis service\n " +
93- "| (e.g. https://kinesis.us-east-1.amazonaws.com)\n " );
90+ "Usage: JavaKinesisWordCountASL <stream-name> <endpoint-url>\n " +
91+ " <stream-name> is the name of the Kinesis stream\n " +
92+ " <endpoint-url> is the endpoint of the Kinesis service\n " +
93+ " (e.g. https://kinesis.us-east-1.amazonaws.com)\n " );
9494 System .exit (1 );
9595 }
9696
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitialPositionIn
3535object KinesisUtils {
3636 /**
3737 * Create an InputDStream that pulls messages from a Kinesis stream.
38- *
38+ * :: Experimental ::
3939 * @param ssc StreamingContext object
4040 * @param streamName Kinesis stream name
4141 * @param endpointUrl Url of Kinesis service (e.g., https://kinesis.us-east-1.amazonaws.com)
@@ -66,7 +66,7 @@ object KinesisUtils {
6666
6767 /**
6868 * Create a Java-friendly InputDStream that pulls messages from a Kinesis stream.
69- *
69+ * :: Experimental ::
7070 * @param jssc Java StreamingContext object
7171 * @param streamName Kinesis stream name
7272 * @param endpointUrl Url of Kinesis service (e.g., https://kinesis.us-east-1.amazonaws.com)
You can’t perform that action at this time.
0 commit comments