CBSE BOARD XII, asked by sweetylyceum41051, 2 months ago

In Kafka, ____________ will commit the latest offset returned by poll() and return once the offset is committed.

Answers

Answered by SUVIGYADHIRHE
0

Explanation:

ypdypdluypsylatkstoso6so5soy

Answered by lakshmilakku
0

Answer:

*commitSync()

enable.auto.commit=true

enable.auto.commit=false

auto.commit.interval.ms

Explanation:

Offsets compared to committed offsets as of today:

  • A new record will be fetched from the current offset when it becomes available (position).
  • Committed offsets are the most recent offsets for the specified partition.
  • An offset for a partition must be committed to showing that the offset has been processed in order to stop the Kafka cluster from sending the committed records for the same partition.
  • Committed offset is essential in the case of a consumer recovery or rebalancing.

Auto Commit:

  • We can enable auto-commit for a consumer by setting the enable.auto.commit property to true.
  • The default value is true. In that case, the consumer's offset will periodically be committed in the background. If this property is set to false, offsets are not committed.

To learn more about offset, visit:

https://brainly.in/question/7083531

To learn more about consumers, visit:

https://brainly.in/question/12631911

#SPJ2

Similar questions