.akka.akka-projection-kafka_2.13.1.2.5.source-code.reference.conf Maven / Gradle / Ivy
//#config
akka.projection.kafka {
# The time to wait before retrieving the last saved offsets. Due to the asynchronous nature of Akka Streams,
# when a Kafka Consumer Group rebalance occurs it's possible that some messages from a revoked partitions
# are still in-flight and have not yet been committed to the offset store. Projections will attempt to
# filter out such messages, but it's not possible to guarantee it all the time. This delay adds a small
# buffer of time between when the Kafka Source Provider starts up, or when it's assigned a new partition,
# to retrieve the map of partitions to offsets to give any projections running in parallel a chance
# to drain in-flight messages.
read-offset-delay = 500 ms
}
//#config