错误详情
报错原因
与 kafka 是否自动提交 enable.auto.commit 设置为 false 并且 auto.offset.reset 设置为 none 有关
kafka offset 解析
//earliest: 当各分区下有已提交的offset时,从提交的offset开始消费;无提交的offset时,从头开始消费
//latest: 当各分区下有已提交的offset时,从提交的offset开始消费;无提交的offset时,消费新产生的该分区下的数据
//none : topic各分区都存在已提交的offset时,从offset后开始消费;只要有一个分区不存在已提交的offset,则抛出异常