.filebeat file grows too big, how to rotate this file?

In filebeat’s configuration yml file, I set the registery file as .filebeat, so the file name and offset information is stored in this file for disaster recovery.
When the .filebeat file grows bigger and bigger, is there any mechanism to rotate this .filebeat file or clear partially the dated offset records?

Not yet, see https://github.com/elastic/beats/issues/1022#issuecomment-190652538