Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Mar 9, 2018
1 parent 0a838c1 commit 37a9225
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,11 @@ private[kafka010] object KafkaDataConsumer extends Logging {
/**
* Get a cached consumer for groupId, assigned to topic and partition.
* If matching consumer doesn't already exist, will be created using kafkaParams.
* This will make a best effort attempt to
* The returned consumer must be released explicitly using [[KafkaDataConsumer.release()]].
*
* Note: This method guarantees that the consumer returned is not currently in use by any one
* else. Within this guarantee, this will make a best effort attempt to re-use consumers by
* caching them and tracking when they are in use.
*/
def acquire(
topicPartition: TopicPartition,
Expand Down

0 comments on commit 37a9225

Please sign in to comment.