Github user koeninger commented on a diff in the pull request:
https://github.com/apache/spark/pull/13996#discussion_r69153657
--- Diff:
external/kafka-0-10/src/main/scala/org/apache/spark/streaming/kafka010/DirectKafkaInputDStream.scala
---
@@ -71,7 +64,7 @@ private[spark] class DirectKafkaInputDStream[K, V](
@transient private var kc: Consumer[K, V] = null
def consumer(): Consumer[K, V] = this.synchronized {
if (null == kc) {
- kc = consumerStrategy.onStart(currentOffsets)
+ kc = consumerStrategy.onStart(currentOffsets.mapValues(l => new
java.lang.Long(l)).asJava)
--- End diff --
This is just a question of what type the consumer strategy expects to be
passed, right?
---
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]