Carl-Zhou-CN commented on PR #5184:
URL: https://github.com/apache/seatunnel/pull/5184#issuecomment-1673164014

   insert record
   {Struct@12258} "Struct{_id={"_id": {"$oid": "100000000000000000000103"}}}" 
-> {SourceRecord@12259} 
"SourceRecord{sourcePartition={ns=mongodb://localhost:27017/inventory.products},
 sourceOffset={_id={"_id": {"$oid": "100000000000000000000103"}}, copy=true}} 
ConnectRecord{topic='inventory.products', kafkaPartition=null, 
key=Struct{_id={"_id": {"$oid": "100000000000000000000103"}}}, 
keySchema=Schema{keySchema:STRUCT}, value=Struct{_id={"_id": {"$oid": 
"100000000000000000000103"}},operationType=insert,fullDocument={"_id": {"$oid": 
"100000000000000000000103"}, "name": "12-pack drill bits", "description": 
"12-pack of drill bits with sizes ranging from #40 to #3", "weight": 
"8"},source=Struct{ts_ms=0,table=products,db=inventory,snapshot=true},ts_ms=1691671180997,ns=Struct{db=inventory,coll=products},documentKey={"_id":
 {"$oid": "100000000000000000000103"}}}, 
valueSchema=Schema{ChangeStream:STRUCT}, timestamp=null, 
headers=ConnectHeaders(headers=)}"
   
   update record
   
SourceRecord{sourcePartition={ns=mongodb://localhost:27017/inventory.products}, 
sourceOffset={_id={"_data": 
"8264D4DA89000000032B022C0100296E5A10043A11F44315724484B2AE361B9FAEEB5846645F696400641000000000000000000001030004"},
 copy=false}} ConnectRecord{topic='inventory.products', kafkaPartition=null, 
key=Struct{_id={"_id": {"$oid": "100000000000000000000103"}}}, 
keySchema=Schema{keySchema:STRUCT}, value=Struct{_id={"_id": {"$oid": 
"100000000000000000000103"}},operationType=insert,fullDocument={"_id": {"$oid": 
"100000000000000000000103"}, "name": "12-pack drill bits", "description": "Set 
of 12 professional-grade drill bits", "weight": 
"8"},source=Struct{ts_ms=0,snapshot=true},ts_ms=1691671183383,ns=Struct{db=inventory,coll=products},documentKey={"_id":
 {"$oid": "100000000000000000000103"}}}, 
valueSchema=Schema{ChangeStream:STRUCT}, timestamp=null, 
headers=ConnectHeaders(headers=)}
   
   
   SeaTunnelRow#tableId= SeaTunnelRow#kind=INSERT : 100000000000000000000103, 
12-pack drill bits, Set of 12 professional-grade drill bits, 8


-- 
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]

Reply via email to