Question about auto committing
See original GitHub issueIf I am using auto commit - is there a chance that a message will be committed when I haven’t actually handled it?
eg
await consumer.run({
eachMessage: async ({ topic, partition, message }) => {
await takeaverylongtimeifever()
}
)
could messages get auto committed before takeaverylongtimeifever is done?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Question about auto-commit behavior.
Hi Jordan,. When you have two objects that are associated 1 to 1 to each other then they will both be committed if...
Read more >Newest 'auto-commit' Questions
I am trying to understand the relationship between the concepts of transaction chaining and autocommit. Autocommit is usually exposed in a client-side ......
Read more >What is meant by AUTO COMMIT - DBA FYI center
DBA Job Interview Questions and Answers - What is meant by AUTO COMMIT - DB2 ... AUTO COMMIT is a SPUFI option that...
Read more >How Kafka's Consumer Auto Commit Configuration Can ...
One fundamental problem we've encountered involves Kafka's consumer auto commit configuration—specifically, how data loss or data ...
Read more >AUTO COMMIT - Ask TOM
AUTO COMMIT Hi Sir, We have an application that executes stored procedure via VBA . Apparently ,it auto commits that statement. Is there...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This seems to be resolved for now, so I’m going to close this. Feel free to re-open it if you run into any issues.
@gilesbradshaw, the consumer won’t commit in 2 cases:
takeaverylongtimeifever
throws)In general, you are in control. If you throw inside
eachMessage
it will interrupt the auto-commit