In rotate event, i can obtain a correct value with "((RotateEvent)event).getBinlogFileName".
But after that, in the other event(include rotate event), i get a incorrect value with "event.getHeader().getBinlogFileName", i think when rotate event, only the value of RotateEvent instance has been changed, not the others?
In rotate event, i can obtain a correct value with "((RotateEvent)event).getBinlogFileName".
But after that, in the other event(include rotate event), i get a incorrect value with "event.getHeader().getBinlogFileName", i think when rotate event, only the value of RotateEvent instance has been changed, not the others?