Creating segment hour boundary with kafka indexing task

i was previously using realtime nodes, and giving a segment granularity of ‘HOUR’ resulted in segments created at hour boundary always, eg:
01:00-:02:00

02:00-03:00

However, with the kafka indexing task, the segments are created with respect to the hour from which the indexing task starts, eg:

01:12-02:12

02:12-03:12

How do i make the kafka indexing task create segments at hour boundary like realtime nodes?