krowinski/php-mysql-replication

Event id is always same

jasimaz opened this issue · 4 comments

Please provide the following details.

  • Operating System: Ubuntu 18.04
  • PHP Version: 7.2.4
  • php-mysql-replication Version: 7.0
  • *mysql version (SELECT VERSION();): 8

Steps required to reproduce the problem.

Read all the events

Expected Result.

Each event should have a unique id

Actual Result.

image

ok its misleading name is a "server Id" not an event "id"

I future I will change to server id.

HI @krowinski ,

Thank you for the response. Can you also tell me if there is a way to get unique id for each message. It is possible or anyway available ?

Regards,

there is no id that mysql generate for event you can try to create hash using binary file + binarny position

changed to server id in #104