Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 0.8.3.Final
-
Fix Version/s: 0.9.3.Final
-
Component/s: postgresql-connector
-
Labels:None
-
Steps to Reproduce:
Description
RecordsStreamProducer forgets to convert `commitTime` from ReplicationMessage (which is in nanoseconds) to microseconds to match what is being used in the RecordsSnapshotProducer.
As a result you get the following records with the ts_usec values being inconsistent.
{"ts_usec":1551879833470000,"txId":105511269,"lsn":5938262159080,"schema":"public","table": "ims_item","snapshot":true,"last_snapshot_record":false} {"ts_usec":1551938559907450000,"txId":105513931,"lsn":5941569690428,"schema":"public","table":"ims_item","snapshot":false,"last_snapshot_record":null}
The issue seems to affect all versions apparently.