Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Commit Current Offset#

Sumit Rawal answered on June 1, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • get current commit message git
  • Commits and Offsets
  • Commits and Offsets
  • Offset Commit Configuration

  • Commit Current Offset#

    0

    Rather than relying on the timer to commit the offset, the consumer application can explicitly choose when to commit the offset using the commitSync() API. In this scenario, the setting enable.auto.commit is set to false. The commitSync() method commits the latest offset returned by the poll() method. This is unlike the automatic commit option which commits the offset returned by the last invocation of the poll() call. The pattern to use with this configuration is outlined below.

    Popularity 1/10 Helpfulness 1/10 Language java
    Source: Grepper
    Tags: commit java
    Link to this answer
    Share Copy Link
    Contributed on Jun 01 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.