oracle cdc 如何能拿到变更操作的发生时间 #1214
Unanswered
MonsterChenzhuo
asked this question in
Q&A
Replies: 2 comments 2 replies
-
R操作是全量阶段,并不是从binlog里面获取到的,而是select查询出来的数据。这个查询时间怕是不好获取。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
@shadon178 您好 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我通过dubug调试进入到
SourceRecord{sourcePartition={server=oracle_logminer}, sourceOffset={snapshot=true, scn=6338831463326, snapshot_completed=false}} ConnectRecord{topic='oracle_logminer.xxxxx', kafkaPartition=null, key=Struct{ID=529}, keySchema=Schema{oracle_logminer.xxxxx.Key:STRUCT}, value=Struct{after=Struct{xxxx},source=Struct{version=1.5.4.Final,connector=oracle,name=oracle_logminer,ts_ms=1653392220143,snapshot=true,db=SVDP,schema=HLASSET,table=BZ_HOUSE,scn=6338831463326},op=r,ts_ms=1653392220149}, valueSchema=Schema{oracle_logminer.xxxxx.Envelope:STRUCT}, timestamp=null, headers=ConnectHeaders(headers=)}
发现ts_ms 是当前时间,我现在想获取到这个R操作的发生时间,求教该如何获取?
Beta Was this translation helpful? Give feedback.
All reactions