Open coadan opened 1 year ago
Did you try to increase resources to connector pod?
@marcosmarxm I have been using the same connector resource config, and source to sync to both BigQuery and GCS without issue, so I find it odd that it just struggles on sending to Pubsub because of resource constraints?
@coadan
According to the description and the fact that the Amplitude connector works fine with another destination, the problem is actually with PubSub destination
So my plan is to change the issue title to be related to PubSub destination.
Environment
Current Behavior
Large event stream from Amplitude Source makes Google Pubsub destination pod worker go OOM
Expected Behavior
The connector should periodically flush messages from memory before reaching the pods memory limit
Logs
Section of log which includes said error:
2022-11-30 16:06:19 [32mINFO[m i.a.w.i.DefaultAirbyteStreamFactory(parseJson):78 - Terminating due to java.lang.OutOfMemoryError: Java heap space
logs_16104_txt.txt
Steps to Reproduce