# In-correct documentation 

**URL:** <https://discuss.akka.io/t/in-correct-documentation/8680>\
**Category:** Uncategorized\
**Created:** [August 26, 2021, 8:00am UTC](https://discuss.akka.io/t/in-correct-documentation/8680 "2021-08-26T08:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chetankm-cs](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/chetankm-cs/32/2529_2.png) [@chetankm-cs](https://discuss.akka.io/u/chetankm-cs)\
**Post date:** [August 26, 2021, 8:00am UTC](https://discuss.akka.io/t/in-correct-documentation/8680/1 "2021-08-26T08:00:44Z")

</div>

Continuing the discussion from [Alpakka Kafka connector in Akka Streams](https://discuss.akka.io/t/alpakka-kafka-connector-in-akka-streams/6142):

@enru

In case of an error in sources emitted from `Consumer.committablePartitionedSource`,  
the [docs](https://github.com/akka/alpakka-kafka/blob/master/core/src/main/scala/akka/kafka/internal/SubSourceLogic.scala#L337) says that the `subSource` is re-emitted and seeked to last committed offset.

However, in the implementation, it looks like we are seeking to the last not `emitted` [offset](https://github.com/akka/alpakka-kafka/blob/master/core/src/main/scala/akka/kafka/internal/SubSourceLogic.scala#L435).

So, in case of any errors, this can cause data loss.
