O'Reilly logo
  • Abhishek Singh thinks this is interesting:

Heartbeats are sent when the consumer polls (i.e., retrieves records) and when it commits records it has consumed.


Cover of Kafka: The Definitive Guide


Where does the consumer commit the number of records it has consumed ? Also can we log it ??