-
Notifications
You must be signed in to change notification settings - Fork 1.6k
AckCount is invalid when ackMode is Count and ackCount is less than maxPollRecords #2731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
ideal-for-user-contribution
An issue that would ideal for a user to get started with contributing.
type: enhancement
Comments
We currently only consider count and time ack modes just before the next poll. It's probably not a big change; I'll put it on the backlog. Contributions are welcome. |
@garyrussell Can i solve this issue? |
Yes, please go ahead. Please read the contribution guidelines. |
@hscom96 @garyrussell can I pick this up ? |
Yes, please do. |
Wzy19930507
pushed a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 21, 2023
…its before next invokeOnMessage
Wzy19930507
pushed a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 21, 2023
…its before next invokeOnMessage
Wzy19930507
pushed a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 21, 2023
Wzy19930507
pushed a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 24, 2023
Wzy19930507
pushed a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 26, 2023
count ack mode commit offset when next poll return no records
garyrussell
pushed a commit
that referenced
this issue
Oct 30, 2023
Wzy19930507
added a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Oct 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ideal-for-user-contribution
An issue that would ideal for a user to get started with contributing.
type: enhancement
Expected Behavior
Assume we have following settings:
application.properties
Expect to commit offset every 100 messages processed
SpringBoot Application:
Current Behavior
Committing the offset every time after 500 records processed:
Context
Although the larger the ackCount, the better the performance, but it will increase the chance of retransmission, so sometimes it is useful for the ackCount to be smaller than maxPollRecords
The text was updated successfully, but these errors were encountered: