Hi, I'm trying to load data from api, but sometime...
# replication-troubleshooting
y
Hi, I'm trying to load data from api, but sometime the stream pull data to the same avro file (
xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro
) at the same sync. As the result part of data drops. How can i fix it?
airbyte version 0.40.18
log:
Copy code
2023-02-27 16:22:52 [32mINFO[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):383 - Records read: 2680000 (284 MB)
2023-02-27 16:22:52 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Initiated multipart upload to xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro with full ID ABPnzm4Wgmepg2bXrbpotHV4Dyl0vznhMwUX2Z40BoayH0Zzwu8k2MQnRzEzkgD1W6XIh0E
2023-02-27 16:22:53 [32mINFO[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):383 - Records read: 2681000 (285 MB)
2023-02-27 16:22:53 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Called close() on [MultipartOutputStream for parts 1 - 10000]
2023-02-27 16:22:54 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - [Manager uploading to xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro with id ABPnzm4Wg...D1W6XIh0E]: Finished uploading [Part number 1 containing 10.01 MB]
...............
Copy code
2023-02-27 23:46:12 [32mINFO[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):383 - Records read: 41597000 (4 GB)
2023-02-27 23:46:13 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Initiated multipart upload to xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro with full ID ABPnzm46bz3VtfUl2WWDwmkyFDgPGbR3hNS3p6ocoNppt3-L9G7NcvEF3Lr85psBci9cncc
2023-02-27 23:46:13 [32mINFO[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):383 - Records read: 41598000 (4 GB)
2023-02-27 23:46:13 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Called close() on [MultipartOutputStream for parts 1 - 10000]
2023-02-27 23:46:15 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - [Manager uploading to xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro with id ABPnzm46b...sBci9cncc]: Finished uploading [Part number 1 containing 10.01 MB]
2023-02-27 23:46:15 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - [Manager uploading to xxx/data/dump_2/2023/02/27/15/72247da1-e4bc-4cbf-8b65-dc112b34c8ee/2.avro with id ABPnzm46b...sBci9cncc]: Finished uploading [Part number 3 containing 10.01 MB]
m
@Yauheni Anikhouski can you give more information about what connector are you using and the settings used?
If possible share the complete log file
y
@Marcos Marx (Airbyte) custom connector (http based)
m
Your custm connector has start_date? How much memory your Airbyte server has? Maybe the problem is caused by OOM