Brian Kasen
05/25/2024, 2:36 AMkapa.ai
05/25/2024, 2:37 AMkapa.ai
05/25/2024, 2:37 AMincremental and full_refresh. - Incremental mode sends only the new data since the last sync, while full_refresh mode resends all data for the stream on every sync. More details can be found in the [Airbyte Protocol documentation](https://docs.airbyte.com/understanding-airbyte/airbyte-protocol#source-sync-modes). 3. Configuring Streams: - You can choose which streams to sync and how they are loaded to the destination in the "Schema" tab of the connection settings. This includes toggling sync on or off for individual streams and selecting the sync mode for each stream. Detailed instructions are available in the [Configuring Connections documentation](https://docs.airbyte.com/cloud/managing-airbyte-cloud/configuring-connections#modify-streams). In summary, Airbyte can run streams concurrently within a sync, which can optimize the synchronization process. The specific behavior can be configured based on the sync mode and the settings for each stream. For more detailed information, you can refer to the following documentation: - [Airbyte Protocol - Source Sync Modes](https://docs.airbyte.com/understanding-airbyte/airbyte-protocol#source-sync-modes) - [Salesforce Source - Reference](https://docs.airbyte.com/integrations/sources/salesforce#reference) - [Configuring Connections - Modify Streams](https://docs.airbyte.com/cloud/managing-airbyte-cloud/configuring-connections#modify-streams)Brian Kasen
05/25/2024, 3:30 AMkapa.ai
05/25/2024, 3:31 AMkapa.ai
05/25/2024, 3:31 AMBrian Kasen
05/25/2024, 3:40 AMkapa.ai
05/25/2024, 3:40 AMkapa.ai
05/25/2024, 3:40 AMJOB_MAIN_CONTAINER_CPU_REQUEST - JOB_MAIN_CONTAINER_CPU_LIMIT - JOB_MAIN_CONTAINER_MEMORY_REQUEST - JOB_MAIN_CONTAINER_MEMORY_LIMIT These environment variables help manage the minimum and maximum CPU and memory usage for the job containers, ensuring that resources are allocated efficiently and within the desired limits. Here’s how you can use them: 1. Define the Environment Variables: - You can set these environment variables in your .env file or directly in your deployment configuration. 2. Units: - The units for these variables follow either Docker or Kubernetes conventions, depending on your deployment. For Docker, you can use suffixes like b, k, m, g to indicate bytes, kilobytes, megabytes, or gigabytes. For Kubernetes, you can use similar units. 3. Example Configuration: env JOB_MAIN_CONTAINER_CPU_REQUEST=1 JOB_MAIN_CONTAINER_CPU_LIMIT=2 JOB_MAIN_CONTAINER_MEMORY_REQUEST=1G JOB_MAIN_CONTAINER_MEMORY_LIMIT=5G 4. Usage in Docker: - When using Docker, these settings will be applied to the job containers to ensure they have the specified minimum and maximum CPU and memory resources. 5. Usage in Kubernetes: - In a Kubernetes deployment, these settings will be applied to the pods running the job containers, ensuring they adhere to the specified resource requests and limits. ### Detailed Explanation - JOB_MAIN_CONTAINER_CPU_REQUEST: Defines the minimum CPU usage for the job container. This ensures that the container gets at least this amount of CPU resources. - JOB_MAIN_CONTAINER_CPU_LIMIT: Defines the maximum CPU usage for the job container. This prevents the container from using more than this amount of CPU resources. - JOB_MAIN_CONTAINER_MEMORY_REQUEST: Defines the minimum RAM usage for the job container. This ensures that the container gets at least this amount of memory. - JOB_MAIN_CONTAINER_MEMORY_LIMIT: Defines the maximum RAM usage for the job container. This prevents the container from using more than this amount of memory. ### References For more detailed information, you can refer to the following documentation: - [Configuring Connector Resources - Instance-Wide Requirements](https://docs.airbyte.com/operator-guides/configuring-connector-resources#configuring-instance-wide-requirements) - [Docker Resource Constraints](https://docs.docker.com/config/containers/resource_constraints/) - [Kubernetes Resource Management](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) By setting these environment variables, you can ensure that your Airbyte job containers have the appropriate resources allocated to them, preventing issues such as out-of-memory exceptions or inefficient resource usage.