php-mysql-replication icon indicating copy to clipboard operation
php-mysql-replication copied to clipboard

Event id is always same

Open jasimaz opened this issue 4 years ago • 2 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

jasimaz avatar Apr 13 '21 21:04 jasimaz

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

I future I will change to server id.

krowinski avatar Aug 17 '21 18:08 krowinski

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,

jasimaz avatar Nov 10 '21 12:11 jasimaz

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

krowinski avatar Jan 29 '24 20:01 krowinski

changed to server id in #104

krowinski avatar Jan 30 '24 10:01 krowinski