[ https://issues.apache.org/jira/browse/KYLIN-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594281#comment-15594281 ]
Shaofeng SHI commented on KYLIN-2091: ------------------------------------- The API is: Request: PUT /kylin/api/cubes/<cubeName>/init_start_offsets Response sample: {"result":"success","offsets":"{0=227538985, 1=227539601, 2=227015426, 3=146988394, 4=146984430, 5=147510982, 6=685351, 7=683851, 8=685057, 9=685448, 10=685122, 11=685648}"} > Add API to init the start-point (of each parition) for streaming cube > --------------------------------------------------------------------- > > Key: KYLIN-2091 > URL: https://issues.apache.org/jira/browse/KYLIN-2091 > Project: Kylin > Issue Type: Improvement > Components: REST Service, streaming > Reporter: Shaofeng SHI > Assignee: Shaofeng SHI > Fix For: v1.6.0 > > > Just like a normal cube need a "partition start date" on creation (which will > be used as the start point of the first segment), a streaming cube also need > a starting point of the topic; but it will be a collection of offsets (for > all partitions). Otherwise Kylin has to build from the topic's very begining, > which may not be expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)