eee27 commented on issue #7520:
URL: https://github.com/apache/seatunnel/issues/7520#issuecomment-2485164634
i found in
'org.apache.seatunnel.connectors.seatunnel.cdc.mongodb.source.offset.ChangeStreamOffset'
,line 71 .
'timestamp' in data is null ,can use longOffsetValue to get it.
> `public BsonTimestamp getTimestamp() {
> //long timestamp = Long.parseLong(offset.get(TIMESTAMP_FIELD));
> long timestamp = longOffsetValue(offset, TIMESTAMP_FIELD);
> return new BsonTimestamp(timestamp);
> }`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]