修改BROKER_JVM_ARGS参数,删除消息数据后,offset没有同步更新

9 views
Skip to first unread message

郑一帆

unread,
Apr 23, 2014, 4:30:03 AM4/23/14
to me...@googlegroups.com


添加-Dmeta.get.tellMaxOffset=true到env.sh不生效.
步骤:
1. 修改参数: env.sh
   BROKER_JVM_ARGS="-Xmx512m -Xms512m -server -Dmeta.home=$meta_home -Dmeta.get.tellMaxOffset=true -cp $CLASSPATH "
2.  删除对应分区下的数据
3.  生产者发送新数据
4. 消费者不能正常消费。

Reply all
Reply to author
Forward
0 new messages