before-The state of the row before the change that was applied in the current event. This can be null if this row is new.
after- The state of the row after the change that was applied in the current event.
source- Information about the change event. Including things such as what binlog file it came from, and it's sequence number or position within the file. The Source Table and Database will also be here.
op- The change type. The options are:
r- Read events (when loading the initial data)
c. In this case we added a new sale to the
salestable in the
proddatabase (this can be seen in the
beforeand the new updated values in