Got fetch request with offset out of range
storm spolt无法从kafka中读取数据,storm-ui日志报错信息Got fetch request with offset out of range ,网上说是偏移量的问题,需要修改zookeeper中对应主题下的偏移量。
1,进入zookeeper客户端命令行。
zkCli.sh -server 10.1.43.81
2,查看kafka主题(这个应该对应storm中分组的主题编号)
[zk: 10.1.43.81(CONNECTED) 3] ls /
[zk: 10.1.43.81(CONNECTED) 3] [ac, admin, brokers, cecep, cluster, config, consumers, controller, controller_epoch, das, dubbo, eventAlarm, homeadvisor, isr_change_notification, latest_producer_id_block, log_dir_event_notification, storm,zookeeper]
3,删除对应的主题
[zk: 10.1.43.81(CONNECTED) 3] rmr cecep 或者 deleteall cecep
4,杀掉storm进程,重新启动,问题解决