<@U04S8PLJWMT> is heartbeat_max_seconds_between_me...
# ask-ai
n
@kapa.ai is heartbeat_max_seconds_between_messages configurable per job?
k
Based on the knowledge sources provided, there is no direct information about a configuration parameter called
heartbeat_max_seconds_between_messages
that is configurable per job. However, I can provide some relevant information about heartbeat configurations in Airbyte: According to the [Airbyte documentation on heartbeats](https://docs.airbyte.com/understanding-airbyte/heartbeats#configuration), there are two configurable parameters related to heartbeats: 1. `heartbeat-max-seconds-between-messages`: This configures the maximum time allowed between 2 messages. The default is 3 hours. 2. `heartbeat.failSync`: This setting determines whether syncs will fail if a missed heartbeat is detected. The default value is true. These configurations are set in the
flags.yaml
file, which suggests they are global settings rather than per-job configurations. For the destination, there are similar configurations: 1. `destination-timeout-max-seconds`: This sets the maximum time allowed for a call to the destination before it's considered timed out. The default is 24 hours. 2. `destination-timeout.failSync`: This determines whether a sync will fail if a destination timeout is detected. It's important to note that these configurations appear to be global settings for the Airbyte instance, not configurable on a per-job basis. If you need more specific or per-job configuration options, you may want to consult the latest Airbyte documentation or reach out to Airbyte support for more detailed information.
n
@kapa.ai can you give me an example where these are set
k
A message from kapa.ai
Certainly! Based on the information provided in the knowledge sources, I can give you an example of how these heartbeat configurations are set in Airbyte. The configurations are typically set in a file called
flags.yaml
. Here's an example of how you might set these values:
Copy code
yaml heartbeat-max-seconds-between-messages: 10800  # 3 hours in seconds heartbeat.failSync: true destination-timeout-max-seconds: 86400  # 24 hours in seconds destination-timeout.failSync: true
This example sets the following: 1. The maximum time allowed between messages (heartbeats) is 3 hours (10800 seconds). 2. The sync will fail if a missed heartbeat is detected. 3. The maximum time allowed for a call to the destination before it's considered timed out is 24 hours (86400 seconds). 4. The sync will fail if a destination timeout is detected. It's important to note that these settings are global configurations for your Airbyte instance, not per-job settings. They would typically be applied when deploying or configuring Airbyte. For a Kubernetes deployment, you might set these values in a custom
values.yaml
file as mentioned in the [Airbyte Enterprise Implementation Guide](https://docs.airbyte.com/enterprise-setup/implementation-guide#customizing-your-deployment):
Copy code
yaml global:   env_vars:     HEARTBEAT_MAX_SECONDS_BETWEEN_MESSAGES: 10800     HEARTBEAT_FAIL_SYNC: "true"     DESTINATION_TIMEOUT_MAX_SECONDS: 86400     DESTINATION_TIMEOUT_FAIL_SYNC: "true"
Then you would apply these settings using a Helm command:
Copy code
helm upgrade \ --namespace airbyte \ --values ./values.yaml \ --install airbyte-enterprise \ airbyte/airbyte
Remember to adjust these values according to your specific needs and always refer to the most recent Airbyte documentation for the most up-to-date information on configuration options.