Skip to content

Commit

Permalink
source-mssql: Allow 60min for MAX_FIRST_RECORD_WAIT_TIME (#37326)
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Apr 15, 2024
1 parent 9f96aef commit 466abc2
Show file tree
Hide file tree
Showing 7 changed files with 162 additions and 71 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.30.3
version=0.30.4
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object RecordWaitTimeUtil {
private val LOGGER: Logger = LoggerFactory.getLogger(RecordWaitTimeUtil::class.java)

val MIN_FIRST_RECORD_WAIT_TIME: Duration = Duration.ofMinutes(2)
val MAX_FIRST_RECORD_WAIT_TIME: Duration = Duration.ofMinutes(40)
val MAX_FIRST_RECORD_WAIT_TIME: Duration = Duration.ofMinutes(60)
val DEFAULT_FIRST_RECORD_WAIT_TIME: Duration = Duration.ofMinutes(5)
val DEFAULT_SUBSEQUENT_RECORD_WAIT_TIME: Duration = Duration.ofMinutes(1)

Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mssql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

airbyteJavaConnector {
cdkVersionRequired = '0.30.1'
cdkVersionRequired = '0.30.4'
features = ['db-sources']
useLocalCdk = false
}
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mssql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: b5ea17b1-f170-46dc-bc31-cc744ca984c1
dockerImageTag: 4.0.11
dockerImageTag: 4.0.12
dockerRepository: airbyte/source-mssql
documentationUrl: https://docs.airbyte.com/integrations/sources/mssql
githubIssueLabel: source-mssql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@
"initial_waiting_seconds": {
"type": "integer",
"title": "Initial Waiting Time in Seconds (Advanced)",
"description": "The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href=\"https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc\">initial waiting time</a>.",
"description": "The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href=\"https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc\">initial waiting time</a>.",
"default": 300,
"min": 120,
"max": 2400,
"max": 3600,
"order": 3
},
"invalid_cdc_cursor_position_behavior": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@
"initial_waiting_seconds": {
"type": "integer",
"title": "Initial Waiting Time in Seconds (Advanced)",
"description": "The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href=\"https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc\">initial waiting time</a>.",
"description": "The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href=\"https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc\">initial waiting time</a>.",
"default": 300,
"min": 120,
"max": 2400,
"max": 3600,
"order": 3
},
"invalid_cdc_cursor_position_behavior": {
Expand Down
217 changes: 154 additions & 63 deletions docs/integrations/sources/mssql.md

Large diffs are not rendered by default.

0 comments on commit 466abc2

Please sign in to comment.