You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem phenomenon: I found that after simulating OpenLogReplicator's abnormal exit and restarting from the checkpoint, it runs for a while and I found that the upstream can parse the data normally, but the downstream queue cannot get data to send to Kafka. I debugged and found that the upstream is parsing normally, as shown in the figure below:
The downstream sendMessage breakpoint cannot be entered and there are no related logs, and Kafka also does not have related data.
Hasn't it already been pushed to the queue here, there might be a problem somewhere?
It seems that there is some additional data following the JSON data.
The text was updated successfully, but these errors were encountered:
I understand now that the code is because the Kafka method doesn't have a callback, and the queue and memory are not released. But the parsed JSON still has garbled text, which is a problem.
Hi, @hj2016 I need to in-house reproduce this bug. Then make a test for that and make a fix. I did not have time for that. I will try to look at it the next few days. Thank you for reporting!
Running script:
{
"version": "1.4.0",
"trace": 0,
"source": [
{
"alias": "S1",
"name": "O112A",
"reader": {
"type": "online",
"user": "olruser",
"password": "olruser2023_#",
"server": "//xxx.xxx.xxx.xxx:1521/DBCENTER"
},
"format": {
"type": "json"
},
"state": {
"type": "disk",
"path": "/opt/OpenLogReplicator/checkpoint"
},
"memory-min-mb": 64,
"memory-max-mb": 1024,
"filter": {
"table": [
{"owner": "KLBR", "table": "HUDI_TEST1","key":"ID,TEST_STR,TEST_DOUBLE,TEST_TIMESTAMP,SOURCE_LASTUPDATEDTTM"}
]
}
}
],
"target": [
{
"alias": "K1",
"source": "S1",
"writer": {
"type": "kafka",
"topic": "open_log_replicator_topic",
"properties": {
"bootstrap.servers": "xxx.xxx.xxx.xxx:xxx"
}
}
}
]
}
Problem phenomenon: I found that after simulating OpenLogReplicator's abnormal exit and restarting from the checkpoint, it runs for a while and I found that the upstream can parse the data normally, but the downstream queue cannot get data to send to Kafka. I debugged and found that the upstream is parsing normally, as shown in the figure below:
The downstream sendMessage breakpoint cannot be entered and there are no related logs, and Kafka also does not have related data.
Hasn't it already been pushed to the queue here, there might be a problem somewhere?
It seems that there is some additional data following the JSON data.
The text was updated successfully, but these errors were encountered: