blob: 828a6ad103edccd2f57c339c62a15d68866d5de5 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.aws2athena.CamelAws2athenaSinkConnector",
"artifactId": "camel-aws2-athena-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-aws2-athena-sink",
"type": "sink",
"version": "0.7.2",
"description": "Access AWS Athena service using AWS SDK version 2.x."
},
"properties": {
"camel.sink.path.label": {
"name": "camel.sink.path.label",
"description": "Logical name",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.accessKey": {
"name": "camel.sink.endpoint.accessKey",
"description": "Amazon AWS Access Key.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.amazonAthenaClient": {
"name": "camel.sink.endpoint.amazonAthenaClient",
"description": "The AmazonAthena instance to use as the client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.database": {
"name": "camel.sink.endpoint.database",
"description": "The Athena database to use.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.delay": {
"name": "camel.sink.endpoint.delay",
"description": "Milliseconds before the next poll for query execution status. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "2000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.encryptionOption": {
"name": "camel.sink.endpoint.encryptionOption",
"description": "The encryption type to use when storing query results in S3. One of SSE_S3, SSE_KMS, or CSE_KMS. One of: [SSE_S3] [SSE_KMS] [CSE_KMS] [null]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"SSE_S3",
"SSE_KMS",
"CSE_KMS",
"null"
]
},
"camel.sink.endpoint.includeTrace": {
"name": "camel.sink.endpoint.includeTrace",
"description": "Include useful trace information at the beginning of queries as an SQL comment (prefixed with --).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.initialDelay": {
"name": "camel.sink.endpoint.initialDelay",
"description": "Milliseconds before the first poll for query execution status. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "1000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.kmsKey": {
"name": "camel.sink.endpoint.kmsKey",
"description": "For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.maxAttempts": {
"name": "camel.sink.endpoint.maxAttempts",
"description": "Maximum number of times to attempt a query. Set to 1 to disable retries. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "1",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.maxResults": {
"name": "camel.sink.endpoint.maxResults",
"description": "Max number of results to return for the given operation (if supported by the Athena API endpoint). If not set, will use the Athena API default for the given operation.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.nextToken": {
"name": "camel.sink.endpoint.nextToken",
"description": "Pagination token to use in the case where the response from the previous request was truncated.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.operation": {
"name": "camel.sink.endpoint.operation",
"description": "The Athena API function to call. One of: [getQueryExecution] [getQueryResults] [listQueryExecutions] [startQueryExecution]",
"defaultValue": "\"startQueryExecution\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"getQueryExecution",
"getQueryResults",
"listQueryExecutions",
"startQueryExecution"
]
},
"camel.sink.endpoint.outputLocation": {
"name": "camel.sink.endpoint.outputLocation",
"description": "The location in Amazon S3 where query results are stored, such as s3:\/\/path\/to\/query\/bucket\/. Ensure this value ends with a forward slash ('\/').",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.outputType": {
"name": "camel.sink.endpoint.outputType",
"description": "How query results should be returned. One of StreamList (default - return a GetQueryResultsIterable that can page through all results), SelectList (returns at most 1,000 rows at a time, plus a NextToken value as a header than can be used for manual pagination of results), S3Pointer (return an S3 path pointing to the results). One of: [StreamList] [SelectList] [S3Pointer]",
"defaultValue": "\"StreamList\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"StreamList",
"SelectList",
"S3Pointer"
]
},
"camel.sink.endpoint.proxyHost": {
"name": "camel.sink.endpoint.proxyHost",
"description": "To define a proxy host when instantiating the Athena client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.proxyPort": {
"name": "camel.sink.endpoint.proxyPort",
"description": "To define a proxy port when instantiating the Athena client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.proxyProtocol": {
"name": "camel.sink.endpoint.proxyProtocol",
"description": "To define a proxy protocol when instantiating the Athena client. One of: [HTTP] [HTTPS]",
"defaultValue": "\"HTTPS\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"HTTP",
"HTTPS"
]
},
"camel.sink.endpoint.queryExecutionId": {
"name": "camel.sink.endpoint.queryExecutionId",
"description": "The unique ID identifying the query execution.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.queryString": {
"name": "camel.sink.endpoint.queryString",
"description": "The SQL query to run. Except for simple queries, prefer setting this as the body of the Exchange or as a header using Athena2Constants.QUERY_STRING to avoid having to deal with URL encoding issues.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.region": {
"name": "camel.sink.endpoint.region",
"description": "The region in which Athena client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You'll need to use the name Region.EU_WEST_1.id().",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.resetWaitTimeoutOnRetry": {
"name": "camel.sink.endpoint.resetWaitTimeoutOnRetry",
"description": "Reset the waitTimeout countdown in the event of a query retry. If set to true, potential max time spent waiting for queries is equal to waitTimeout x maxAttempts. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.retry": {
"name": "camel.sink.endpoint.retry",
"description": "Optional comma separated list of error types to retry the query for. Use 'retryable' to retry all retryable failure conditions (e.g. generic errors and resources exhausted), 'generic' to retry 'GENERIC_INTERNAL_ERROR' failures, 'exhausted' to retry queries that have exhausted resource limits, 'always' to always retry regardless of failure condition, or 'never' or null to never retry (default). See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more. One of: [never] [always] [retryable] [exhausted] [generic]",
"defaultValue": "\"never\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"never",
"always",
"retryable",
"exhausted",
"generic"
]
},
"camel.sink.endpoint.secretKey": {
"name": "camel.sink.endpoint.secretKey",
"description": "Amazon AWS Secret Key.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.waitTimeout": {
"name": "camel.sink.endpoint.waitTimeout",
"description": "Optional max wait time in millis to wait for a successful query completion. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "0L",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.workGroup": {
"name": "camel.sink.endpoint.workGroup",
"description": "The workgroup to use for running the query.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientRequestToken": {
"name": "camel.sink.endpoint.clientRequestToken",
"description": "A unique string to ensure issues queries are idempotent. It is unlikely you will need to set this.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.synchronous": {
"name": "camel.sink.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.accessKey": {
"name": "camel.component.aws2-athena.accessKey",
"description": "Amazon AWS Access Key.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.amazonAthenaClient": {
"name": "camel.component.aws2-athena.amazonAthenaClient",
"description": "The AmazonAthena instance to use as the client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.configuration": {
"name": "camel.component.aws2-athena.configuration",
"description": "The component configuration.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.database": {
"name": "camel.component.aws2-athena.database",
"description": "The Athena database to use.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.delay": {
"name": "camel.component.aws2-athena.delay",
"description": "Milliseconds before the next poll for query execution status. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "2000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.encryptionOption": {
"name": "camel.component.aws2-athena.encryptionOption",
"description": "The encryption type to use when storing query results in S3. One of SSE_S3, SSE_KMS, or CSE_KMS. One of: [SSE_S3] [SSE_KMS] [CSE_KMS] [null]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"SSE_S3",
"SSE_KMS",
"CSE_KMS",
"null"
]
},
"camel.component.aws2-athena.includeTrace": {
"name": "camel.component.aws2-athena.includeTrace",
"description": "Include useful trace information at the beginning of queries as an SQL comment (prefixed with --).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.initialDelay": {
"name": "camel.component.aws2-athena.initialDelay",
"description": "Milliseconds before the first poll for query execution status. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "1000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.kmsKey": {
"name": "camel.component.aws2-athena.kmsKey",
"description": "For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.lazyStartProducer": {
"name": "camel.component.aws2-athena.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.maxAttempts": {
"name": "camel.component.aws2-athena.maxAttempts",
"description": "Maximum number of times to attempt a query. Set to 1 to disable retries. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "1",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.maxResults": {
"name": "camel.component.aws2-athena.maxResults",
"description": "Max number of results to return for the given operation (if supported by the Athena API endpoint). If not set, will use the Athena API default for the given operation.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.nextToken": {
"name": "camel.component.aws2-athena.nextToken",
"description": "Pagination token to use in the case where the response from the previous request was truncated.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.operation": {
"name": "camel.component.aws2-athena.operation",
"description": "The Athena API function to call. One of: [getQueryExecution] [getQueryResults] [listQueryExecutions] [startQueryExecution]",
"defaultValue": "\"startQueryExecution\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"getQueryExecution",
"getQueryResults",
"listQueryExecutions",
"startQueryExecution"
]
},
"camel.component.aws2-athena.outputLocation": {
"name": "camel.component.aws2-athena.outputLocation",
"description": "The location in Amazon S3 where query results are stored, such as s3:\/\/path\/to\/query\/bucket\/. Ensure this value ends with a forward slash ('\/').",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.outputType": {
"name": "camel.component.aws2-athena.outputType",
"description": "How query results should be returned. One of StreamList (default - return a GetQueryResultsIterable that can page through all results), SelectList (returns at most 1,000 rows at a time, plus a NextToken value as a header than can be used for manual pagination of results), S3Pointer (return an S3 path pointing to the results). One of: [StreamList] [SelectList] [S3Pointer]",
"defaultValue": "\"StreamList\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"StreamList",
"SelectList",
"S3Pointer"
]
},
"camel.component.aws2-athena.proxyHost": {
"name": "camel.component.aws2-athena.proxyHost",
"description": "To define a proxy host when instantiating the Athena client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.proxyPort": {
"name": "camel.component.aws2-athena.proxyPort",
"description": "To define a proxy port when instantiating the Athena client.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.proxyProtocol": {
"name": "camel.component.aws2-athena.proxyProtocol",
"description": "To define a proxy protocol when instantiating the Athena client. One of: [HTTP] [HTTPS]",
"defaultValue": "\"HTTPS\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"HTTP",
"HTTPS"
]
},
"camel.component.aws2-athena.queryExecutionId": {
"name": "camel.component.aws2-athena.queryExecutionId",
"description": "The unique ID identifying the query execution.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.queryString": {
"name": "camel.component.aws2-athena.queryString",
"description": "The SQL query to run. Except for simple queries, prefer setting this as the body of the Exchange or as a header using Athena2Constants.QUERY_STRING to avoid having to deal with URL encoding issues.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.region": {
"name": "camel.component.aws2-athena.region",
"description": "The region in which Athena client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You'll need to use the name Region.EU_WEST_1.id().",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.resetWaitTimeoutOnRetry": {
"name": "camel.component.aws2-athena.resetWaitTimeoutOnRetry",
"description": "Reset the waitTimeout countdown in the event of a query retry. If set to true, potential max time spent waiting for queries is equal to waitTimeout x maxAttempts. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.retry": {
"name": "camel.component.aws2-athena.retry",
"description": "Optional comma separated list of error types to retry the query for. Use 'retryable' to retry all retryable failure conditions (e.g. generic errors and resources exhausted), 'generic' to retry 'GENERIC_INTERNAL_ERROR' failures, 'exhausted' to retry queries that have exhausted resource limits, 'always' to always retry regardless of failure condition, or 'never' or null to never retry (default). See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more. One of: [never] [always] [retryable] [exhausted] [generic]",
"defaultValue": "\"never\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"never",
"always",
"retryable",
"exhausted",
"generic"
]
},
"camel.component.aws2-athena.secretKey": {
"name": "camel.component.aws2-athena.secretKey",
"description": "Amazon AWS Secret Key.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.waitTimeout": {
"name": "camel.component.aws2-athena.waitTimeout",
"description": "Optional max wait time in millis to wait for a successful query completion. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more.",
"defaultValue": "0L",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.workGroup": {
"name": "camel.component.aws2-athena.workGroup",
"description": "The workgroup to use for running the query.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.autowiredEnabled": {
"name": "camel.component.aws2-athena.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.aws2-athena.clientRequestToken": {
"name": "camel.component.aws2-athena.clientRequestToken",
"description": "A unique string to ensure issues queries are idempotent. It is unlikely you will need to set this.",
"priority": "MEDIUM",
"required": "false"
}
}
}