kafka-definitive-guide pdf

时间:2021-12-03 05:20:20
【文件属性】:

文件名称:kafka-definitive-guide pdf

文件大小:5.73MB

文件格式:ZIP

更新时间:2021-12-03 05:20:20

kafka in action definitive guide

As we mentioned in the previous section about committing offsets, a consumer will want to do some cleanup work before exiting and also before partition rebalancing. If you know your consumer is about to lose ownership of a partition, you will want to commit offsets of the last event you’ve processed. If your consumer maintained a buffer with events that it only processes occasionally (e.g., the currentRecords map we used when explaining pause() functionality), you will want to process the events you accumulated before losing ownership of the partition. Perhaps you also need to close file handles, database connections, and such.


【文件预览】:
confluent-kafka-definitive-guide-complete.pdf

网友评论