Skip to content

Commit 22db76f

Browse files
committed
[SPARK-12177][Streaming][Kafka] fix package object name and doc links
1 parent d1480e7 commit 22db76f

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/ConsumerStrategy.scala

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import org.apache.spark.annotation.Experimental
3939
@Experimental
4040
abstract class ConsumerStrategy[K, V] {
4141
/**
42-
* Kafka <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
42+
* Kafka <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
4343
* configuration parameters</a> to be used on executors. Requires "bootstrap.servers" to be set
4444
* with Kafka broker(s) specified in host1:port1,host2:port2 form.
4545
*/
@@ -59,7 +59,7 @@ abstract class ConsumerStrategy[K, V] {
5959
* Subscribe to a collection of topics.
6060
* @param topics collection of topics to subscribe
6161
* @param kafkaParams Kafka
62-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
62+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
6363
* configuration parameters</a> to be used on driver. The same params will be used on executors,
6464
* with minor automatic modifications applied.
6565
* Requires "bootstrap.servers" to be set
@@ -93,7 +93,7 @@ private case class Subscribe[K, V](
9393
* Assign a fixed collection of TopicPartitions
9494
* @param topicPartitions collection of TopicPartitions to assign
9595
* @param kafkaParams Kafka
96-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
96+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
9797
* configuration parameters</a> to be used on driver. The same params will be used on executors,
9898
* with minor automatic modifications applied.
9999
* Requires "bootstrap.servers" to be set
@@ -134,7 +134,7 @@ object ConsumerStrategies {
134134
* Subscribe to a collection of topics.
135135
* @param topics collection of topics to subscribe
136136
* @param kafkaParams Kafka
137-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
137+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
138138
* configuration parameters</a> to be used on driver. The same params will be used on executors,
139139
* with minor automatic modifications applied.
140140
* Requires "bootstrap.servers" to be set
@@ -159,7 +159,7 @@ object ConsumerStrategies {
159159
* Subscribe to a collection of topics.
160160
* @param topics collection of topics to subscribe
161161
* @param kafkaParams Kafka
162-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
162+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
163163
* configuration parameters</a> to be used on driver. The same params will be used on executors,
164164
* with minor automatic modifications applied.
165165
* Requires "bootstrap.servers" to be set
@@ -180,7 +180,7 @@ object ConsumerStrategies {
180180
* Subscribe to a collection of topics.
181181
* @param topics collection of topics to subscribe
182182
* @param kafkaParams Kafka
183-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
183+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
184184
* configuration parameters</a> to be used on driver. The same params will be used on executors,
185185
* with minor automatic modifications applied.
186186
* Requires "bootstrap.servers" to be set
@@ -202,7 +202,7 @@ object ConsumerStrategies {
202202
* Subscribe to a collection of topics.
203203
* @param topics collection of topics to subscribe
204204
* @param kafkaParams Kafka
205-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
205+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
206206
* configuration parameters</a> to be used on driver. The same params will be used on executors,
207207
* with minor automatic modifications applied.
208208
* Requires "bootstrap.servers" to be set
@@ -220,7 +220,7 @@ object ConsumerStrategies {
220220
* Assign a fixed collection of TopicPartitions
221221
* @param topicPartitions collection of TopicPartitions to assign
222222
* @param kafkaParams Kafka
223-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
223+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
224224
* configuration parameters</a> to be used on driver. The same params will be used on executors,
225225
* with minor automatic modifications applied.
226226
* Requires "bootstrap.servers" to be set
@@ -245,7 +245,7 @@ object ConsumerStrategies {
245245
* Assign a fixed collection of TopicPartitions
246246
* @param topicPartitions collection of TopicPartitions to assign
247247
* @param kafkaParams Kafka
248-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
248+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
249249
* configuration parameters</a> to be used on driver. The same params will be used on executors,
250250
* with minor automatic modifications applied.
251251
* Requires "bootstrap.servers" to be set
@@ -266,7 +266,7 @@ object ConsumerStrategies {
266266
* Assign a fixed collection of TopicPartitions
267267
* @param topicPartitions collection of TopicPartitions to assign
268268
* @param kafkaParams Kafka
269-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
269+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
270270
* configuration parameters</a> to be used on driver. The same params will be used on executors,
271271
* with minor automatic modifications applied.
272272
* Requires "bootstrap.servers" to be set
@@ -288,7 +288,7 @@ object ConsumerStrategies {
288288
* Assign a fixed collection of TopicPartitions
289289
* @param topicPartitions collection of TopicPartitions to assign
290290
* @param kafkaParams Kafka
291-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
291+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
292292
* configuration parameters</a> to be used on driver. The same params will be used on executors,
293293
* with minor automatic modifications applied.
294294
* Requires "bootstrap.servers" to be set

external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import org.apache.spark.storage.StorageLevel
3636
* Starting and ending offsets are specified in advance,
3737
* so that you can control exactly-once semantics.
3838
* @param kafkaParams Kafka
39-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
39+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
4040
* configuration parameters</a>. Requires "bootstrap.servers" to be set
4141
* with Kafka broker(s) specified in host1:port1,host2:port2 form.
4242
* @param offsetRanges offset ranges that define the Kafka data belonging to this RDD

external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/KafkaUtils.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import org.apache.spark.streaming.dstream._
3434

3535
/**
3636
* :: Experimental ::
37-
* Companion object for constructing Kafka streams and RDDs
37+
* object for constructing Kafka streams and RDDs
3838
*/
3939
@Experimental
4040
object KafkaUtils extends Logging {
@@ -44,7 +44,7 @@ object KafkaUtils extends Logging {
4444
* Starting and ending offsets are specified in advance,
4545
* so that you can control exactly-once semantics.
4646
* @param kafkaParams Kafka
47-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
47+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
4848
* configuration parameters</a>. Requires "bootstrap.servers" to be set
4949
* with Kafka broker(s) specified in host1:port1,host2:port2 form.
5050
* @param offsetRanges offset ranges that define the Kafka data belonging to this RDD
@@ -83,7 +83,7 @@ object KafkaUtils extends Logging {
8383
* @param keyClass Class of the keys in the Kafka records
8484
* @param valueClass Class of the values in the Kafka records
8585
* @param kafkaParams Kafka
86-
* <a href="http://kafka.apache.org/documentation.htmll#newconsumerconfigs">
86+
* <a href="http://kafka.apache.org/documentation.html#newconsumerconfigs">
8787
* configuration parameters</a>. Requires "bootstrap.servers" to be set
8888
* with Kafka broker(s) specified in host1:port1,host2:port2 form.
8989
* @param offsetRanges offset ranges that define the Kafka data belonging to this RDD

external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ package org.apache.spark.streaming
2020
/**
2121
* Spark Integration for Kafka 0.10
2222
*/
23-
package object kafka
23+
package object kafka010 //scalastyle:ignore

0 commit comments

Comments
 (0)