You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to know when the KafkaJS Consumer pulls messages from Kafka.
I assume that the KafkaJS Consumer will pull messages after committing them.
ex1) After 'Auto Commit' by commitOffsetsIfNecessary() (which depends on autoCommitInterval or autoCommitThreshold)
ex2) After 'Manual Commit' byconsumer.commitOffsets()
Am I right?
If not, please let me know the actual process of KafkaJS's Consuming.
The text was updated successfully, but these errors were encountered:
From what I saw in the code, it pulls new messages after committing the old one. However, if you choose manual, even though you commit, it will wait until the processing of the messages is finished.
I want to know when the KafkaJS Consumer pulls messages from Kafka.
I assume that the KafkaJS Consumer will pull messages after committing them.
ex1) After 'Auto Commit' by commitOffsetsIfNecessary() (which depends on autoCommitInterval or autoCommitThreshold)
ex2) After 'Manual Commit' byconsumer.commitOffsets()
Am I right?
If not, please let me know the actual process of KafkaJS's Consuming.
The text was updated successfully, but these errors were encountered: