I know this is not the best option and open for other solutions. My first solution was to generate a UUID, but the problem is, i cannot sort this files with the the timestamp. Then if 6 producers create a message, the files will have the same timestamp and we cannot know which was the first message and which is the last message.