|
@@ -122,7 +122,7 @@ public class XfOffsetServiceImpl implements IXfOffsetService {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
- public Boolean insert(String offsetId, Long offSet, String topic, String groupId, String record, Date createTime) {
|
|
|
|
|
|
|
+ public Boolean insert(String offsetId, Long offSet, String topic, String groupId, String record, Date createTime, Integer partitions) {
|
|
|
XfOffset add = new XfOffset();
|
|
XfOffset add = new XfOffset();
|
|
|
add.setOffsetId(offsetId);
|
|
add.setOffsetId(offsetId);
|
|
|
add.setOffSet(offSet);
|
|
add.setOffSet(offSet);
|
|
@@ -130,6 +130,7 @@ public class XfOffsetServiceImpl implements IXfOffsetService {
|
|
|
add.setGroupId(groupId);
|
|
add.setGroupId(groupId);
|
|
|
add.setRecord(record);
|
|
add.setRecord(record);
|
|
|
add.setCreateTime(createTime);
|
|
add.setCreateTime(createTime);
|
|
|
|
|
+ add.setPartitions(partitions);
|
|
|
return baseMapper.insert(add) > 0;
|
|
return baseMapper.insert(add) > 0;
|
|
|
}
|
|
}
|
|
|
|
|
|