Github user lw-lin commented on a diff in the pull request:
https://github.com/apache/spark/pull/15679#discussion_r85642639
--- Diff: docs/streaming-kafka-0-10-integration.md ---
@@ -141,9 +214,11 @@ For data stores that support transactions, saving
offsets in the same transactio
// begin from the the offsets committed to the database
val fromOffsets = selectOffsetsFromYourDatabase.map { resultSet =>
- new TopicPartition(resultSet.string("topic")),
resultSet.int("partition")) -> resultSet.long("offset")
+ new TopicPartition(resultSet.string("topic"),
resultSet.int("partition")) -> resultSet.long("offset")
}.toMap
+ import org.apache.spark.streaming.kafka010.ConsumerStrategies.Assign
--- End diff --
done
---
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]