You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/10/05 09:30:48 UTC

[GitHub] [camel-kafka-connector] oscerd opened a new issue #508: Generator a JSON metadata file for each connector

oscerd opened a new issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508


   Like we have for components/dataformats/language in camel.
   
   This is a subtask for #430 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #508: Generator a JSON metadata file for each connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508#issuecomment-704052586


   Now we have in src/generated splitted json for sink and source connector of the following structure
   
   ```
   {
   	"connector": {
   		"class": "org.apache.camel.kafkaconnector.aws2s3.CamelAws2s3SinkConnector",
   		"artifactId": "camel-aws2-s3-kafka-connector",
   		"groupId": "org.apache.camel.kafkaconnector",
   		"id": "camel-aws2-s3-sink",
   		"type": "sink",
   		"version": "0.6.0-SNAPSHOT"
   	},
   	"properties": {
   		"camel.sink.path.bucketNameOrArn": {
   			"name": "camel.sink.path.bucketNameOrArn",
   			"description": "Bucket name or ARN",
   			"defaultValue": "null",
   			"priority": "HIGH"
   		},
   		"camel.sink.endpoint.amazonS3Client": {
   			"name": "camel.sink.endpoint.amazonS3Client",
   			"description": "Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.autoCreateBucket": {
   			"name": "camel.sink.endpoint.autoCreateBucket",
   			"description": "Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already.",
   			"defaultValue": "true",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.autoDiscoverClient": {
   			"name": "camel.sink.endpoint.autoDiscoverClient",
   			"description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.",
   			"defaultValue": "true",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.overrideEndpoint": {
   			"name": "camel.sink.endpoint.overrideEndpoint",
   			"description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.pojoRequest": {
   			"name": "camel.sink.endpoint.pojoRequest",
   			"description": "If we want to use a POJO request as body or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.policy": {
   			"name": "camel.sink.endpoint.policy",
   			"description": "The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.proxyHost": {
   			"name": "camel.sink.endpoint.proxyHost",
   			"description": "To define a proxy host when instantiating the SQS client",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.proxyPort": {
   			"name": "camel.sink.endpoint.proxyPort",
   			"description": "Specify a proxy port to be used inside the client definition.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.proxyProtocol": {
   			"name": "camel.sink.endpoint.proxyProtocol",
   			"description": "To define a proxy protocol when instantiating the S3 client One of: [HTTP] [HTTPS]",
   			"defaultValue": "\"HTTPS\"",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.region": {
   			"name": "camel.sink.endpoint.region",
   			"description": "The region in which S3 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()",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.trustAllCertificates": {
   			"name": "camel.sink.endpoint.trustAllCertificates",
   			"description": "If we want to trust all certificates in case of overriding the endpoint",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.uriEndpointOverride": {
   			"name": "camel.sink.endpoint.uriEndpointOverride",
   			"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.useIAMCredentials": {
   			"name": "camel.sink.endpoint.useIAMCredentials",
   			"description": "Set whether the S3 client should expect to load credentials on an EC2 instance or to expect static credentials to be passed in.",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.customerAlgorithm": {
   			"name": "camel.sink.endpoint.customerAlgorithm",
   			"description": "Define the customer algorithm to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.customerKeyId": {
   			"name": "camel.sink.endpoint.customerKeyId",
   			"description": "Define the id of Customer key to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.customerKeyMD5": {
   			"name": "camel.sink.endpoint.customerKeyMD5",
   			"description": "Define the MD5 of Customer key to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.deleteAfterWrite": {
   			"name": "camel.sink.endpoint.deleteAfterWrite",
   			"description": "Delete file object after the S3 file has been uploaded",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.keyName": {
   			"name": "camel.sink.endpoint.keyName",
   			"description": "Setting the key name for an element in the bucket through endpoint parameter",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"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"
   		},
   		"camel.sink.endpoint.multiPartUpload": {
   			"name": "camel.sink.endpoint.multiPartUpload",
   			"description": "If it is true, camel will upload the file with multi part format, the part size is decided by the option of partSize",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.operation": {
   			"name": "camel.sink.endpoint.operation",
   			"description": "The operation to do in case the user don't want to do only an upload One of: [copyObject] [listObjects] [deleteObject] [deleteBucket] [listBuckets] [getObject] [getObjectRange]",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.partSize": {
   			"name": "camel.sink.endpoint.partSize",
   			"description": "Setup the partSize which is used in multi part upload, the default size is 25M.",
   			"defaultValue": "26214400L",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.storageClass": {
   			"name": "camel.sink.endpoint.storageClass",
   			"description": "The storage class to set in the com.amazonaws.services.s3.model.PutObjectRequest request.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.awsKMSKeyId": {
   			"name": "camel.sink.endpoint.awsKMSKeyId",
   			"description": "Define the id of KMS key to use in case KMS is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.useAwsKMS": {
   			"name": "camel.sink.endpoint.useAwsKMS",
   			"description": "Define if KMS must be used or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.useCustomerKey": {
   			"name": "camel.sink.endpoint.useCustomerKey",
   			"description": "Define if Customer Key must be used or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.basicPropertyBinding": {
   			"name": "camel.sink.endpoint.basicPropertyBinding",
   			"description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"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"
   		},
   		"camel.sink.endpoint.accessKey": {
   			"name": "camel.sink.endpoint.accessKey",
   			"description": "Amazon AWS Access Key",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.sink.endpoint.secretKey": {
   			"name": "camel.sink.endpoint.secretKey",
   			"description": "Amazon AWS Secret Key",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.amazonS3Client": {
   			"name": "camel.component.aws2-s3.amazonS3Client",
   			"description": "Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.autoCreateBucket": {
   			"name": "camel.component.aws2-s3.autoCreateBucket",
   			"description": "Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already.",
   			"defaultValue": "true",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.autoDiscoverClient": {
   			"name": "camel.component.aws2-s3.autoDiscoverClient",
   			"description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.",
   			"defaultValue": "true",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.configuration": {
   			"name": "camel.component.aws2-s3.configuration",
   			"description": "The component configuration",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.overrideEndpoint": {
   			"name": "camel.component.aws2-s3.overrideEndpoint",
   			"description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.pojoRequest": {
   			"name": "camel.component.aws2-s3.pojoRequest",
   			"description": "If we want to use a POJO request as body or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.policy": {
   			"name": "camel.component.aws2-s3.policy",
   			"description": "The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.proxyHost": {
   			"name": "camel.component.aws2-s3.proxyHost",
   			"description": "To define a proxy host when instantiating the SQS client",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.proxyPort": {
   			"name": "camel.component.aws2-s3.proxyPort",
   			"description": "Specify a proxy port to be used inside the client definition.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.proxyProtocol": {
   			"name": "camel.component.aws2-s3.proxyProtocol",
   			"description": "To define a proxy protocol when instantiating the S3 client One of: [HTTP] [HTTPS]",
   			"defaultValue": "\"HTTPS\"",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.region": {
   			"name": "camel.component.aws2-s3.region",
   			"description": "The region in which S3 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()",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.trustAllCertificates": {
   			"name": "camel.component.aws2-s3.trustAllCertificates",
   			"description": "If we want to trust all certificates in case of overriding the endpoint",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.uriEndpointOverride": {
   			"name": "camel.component.aws2-s3.uriEndpointOverride",
   			"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.useIAMCredentials": {
   			"name": "camel.component.aws2-s3.useIAMCredentials",
   			"description": "Set whether the S3 client should expect to load credentials on an EC2 instance or to expect static credentials to be passed in.",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.customerAlgorithm": {
   			"name": "camel.component.aws2-s3.customerAlgorithm",
   			"description": "Define the customer algorithm to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.customerKeyId": {
   			"name": "camel.component.aws2-s3.customerKeyId",
   			"description": "Define the id of Customer key to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.customerKeyMD5": {
   			"name": "camel.component.aws2-s3.customerKeyMD5",
   			"description": "Define the MD5 of Customer key to use in case CustomerKey is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.deleteAfterWrite": {
   			"name": "camel.component.aws2-s3.deleteAfterWrite",
   			"description": "Delete file object after the S3 file has been uploaded",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.keyName": {
   			"name": "camel.component.aws2-s3.keyName",
   			"description": "Setting the key name for an element in the bucket through endpoint parameter",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.lazyStartProducer": {
   			"name": "camel.component.aws2-s3.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"
   		},
   		"camel.component.aws2-s3.multiPartUpload": {
   			"name": "camel.component.aws2-s3.multiPartUpload",
   			"description": "If it is true, camel will upload the file with multi part format, the part size is decided by the option of partSize",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.operation": {
   			"name": "camel.component.aws2-s3.operation",
   			"description": "The operation to do in case the user don't want to do only an upload One of: [copyObject] [listObjects] [deleteObject] [deleteBucket] [listBuckets] [getObject] [getObjectRange]",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.partSize": {
   			"name": "camel.component.aws2-s3.partSize",
   			"description": "Setup the partSize which is used in multi part upload, the default size is 25M.",
   			"defaultValue": "26214400L",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.storageClass": {
   			"name": "camel.component.aws2-s3.storageClass",
   			"description": "The storage class to set in the com.amazonaws.services.s3.model.PutObjectRequest request.",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.awsKMSKeyId": {
   			"name": "camel.component.aws2-s3.awsKMSKeyId",
   			"description": "Define the id of KMS key to use in case KMS is enabled",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.useAwsKMS": {
   			"name": "camel.component.aws2-s3.useAwsKMS",
   			"description": "Define if KMS must be used or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.useCustomerKey": {
   			"name": "camel.component.aws2-s3.useCustomerKey",
   			"description": "Define if Customer Key must be used or not",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.basicPropertyBinding": {
   			"name": "camel.component.aws2-s3.basicPropertyBinding",
   			"description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
   			"defaultValue": "false",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.accessKey": {
   			"name": "camel.component.aws2-s3.accessKey",
   			"description": "Amazon AWS Access Key",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		},
   		"camel.component.aws2-s3.secretKey": {
   			"name": "camel.component.aws2-s3.secretKey",
   			"description": "Amazon AWS Secret Key",
   			"defaultValue": "null",
   			"priority": "MEDIUM"
   		}
   	}
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] davsclaus commented on issue #508: Generator a JSON metadata file for each connector

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508#issuecomment-704041294


   Yay great to see this.
   
   btw the groupId is likely wrong


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd closed issue #508: Generator a JSON metadata file for each connector

Posted by GitBox <gi...@apache.org>.
oscerd closed issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #508: Generator a JSON metadata file for each connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508#issuecomment-704037777


   First spike of the structure:
   
   ```
   {
     "connector": {
       "class": "org.apache.camel.kafkaconnector.aws2s3.CamelAws2s3SourceConnector",
       "artifactId": "camel-aws2-s3",
       "groupId": "org.apache.camel",
       "title": "camel-aws2-s3",
       "version": "0.6.0-SNAPSHOT"
     },
     "properties": {
       "camel.source.path.bucketNameOrArn": {
         "name": "camel.source.path.bucketNameOrArn",
         "description": "Bucket name or ARN",
         "defaultValue": "null",
         "priority": "HIGH"
       },
       "camel.source.endpoint.amazonS3Client": {
         "name": "camel.source.endpoint.amazonS3Client",
         "description": "Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.autoCreateBucket": {
         "name": "camel.source.endpoint.autoCreateBucket",
         "description": "Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.autoDiscoverClient": {
         "name": "camel.source.endpoint.autoDiscoverClient",
         "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.overrideEndpoint": {
         "name": "camel.source.endpoint.overrideEndpoint",
         "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.pojoRequest": {
         "name": "camel.source.endpoint.pojoRequest",
         "description": "If we want to use a POJO request as body or not",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.policy": {
         "name": "camel.source.endpoint.policy",
         "description": "The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.proxyHost": {
         "name": "camel.source.endpoint.proxyHost",
         "description": "To define a proxy host when instantiating the SQS client",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.proxyPort": {
         "name": "camel.source.endpoint.proxyPort",
         "description": "Specify a proxy port to be used inside the client definition.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.proxyProtocol": {
         "name": "camel.source.endpoint.proxyProtocol",
         "description": "To define a proxy protocol when instantiating the S3 client One of: [HTTP] [HTTPS]",
         "defaultValue": "\"HTTPS\"",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.region": {
         "name": "camel.source.endpoint.region",
         "description": "The region in which S3 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()",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.trustAllCertificates": {
         "name": "camel.source.endpoint.trustAllCertificates",
         "description": "If we want to trust all certificates in case of overriding the endpoint",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.uriEndpointOverride": {
         "name": "camel.source.endpoint.uriEndpointOverride",
         "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.useIAMCredentials": {
         "name": "camel.source.endpoint.useIAMCredentials",
         "description": "Set whether the S3 client should expect to load credentials on an EC2 instance or to expect static credentials to be passed in.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.customerAlgorithm": {
         "name": "camel.source.endpoint.customerAlgorithm",
         "description": "Define the customer algorithm to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.customerKeyId": {
         "name": "camel.source.endpoint.customerKeyId",
         "description": "Define the id of Customer key to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.customerKeyMD5": {
         "name": "camel.source.endpoint.customerKeyMD5",
         "description": "Define the MD5 of Customer key to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.bridgeErrorHandler": {
         "name": "camel.source.endpoint.bridgeErrorHandler",
         "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.deleteAfterRead": {
         "name": "camel.source.endpoint.deleteAfterRead",
         "description": "Delete objects from S3 after they have been retrieved. The delete is only performed if the Exchange is committed. If a rollback occurs, the object is not deleted. If this option is false, then the same objects will be retrieve over and over again on the polls. Therefore you need to use the Idempotent Consumer EIP in the route to filter out duplicates. You can filter using the AWS2S3Constants#BUCKET_NAME and AWS2S3Constants#KEY headers, or only the AWS2S3Constants#KEY header.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.delimiter": {
         "name": "camel.source.endpoint.delimiter",
         "description": "The delimiter which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.destinationBucket": {
         "name": "camel.source.endpoint.destinationBucket",
         "description": "Define the destination bucket where an object must be moved when moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.destinationBucketPrefix": {
         "name": "camel.source.endpoint.destinationBucketPrefix",
         "description": "Define the destination bucket prefix to use when an object must be moved and moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.destinationBucketSuffix": {
         "name": "camel.source.endpoint.destinationBucketSuffix",
         "description": "Define the destination bucket suffix to use when an object must be moved and moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.fileName": {
         "name": "camel.source.endpoint.fileName",
         "description": "To get the object from the bucket with the given file name",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.includeBody": {
         "name": "camel.source.endpoint.includeBody",
         "description": "If it is true, the exchange body will be set to a stream to the contents of the file. If false, the headers will be set with the S3 object metadata, but the body will be null. This option is strongly related to autocloseBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.includeFolders": {
         "name": "camel.source.endpoint.includeFolders",
         "description": "If it is true, the folders/directories will be consumed. If it is false, they will be ignored, and Exchanges will not be created for those",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.maxConnections": {
         "name": "camel.source.endpoint.maxConnections",
         "description": "Set the maxConnections parameter in the S3 client configuration",
         "defaultValue": "60",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.maxMessagesPerPoll": {
         "name": "camel.source.endpoint.maxMessagesPerPoll",
         "description": "Gets the maximum number of messages as a limit to poll at each polling. Gets the maximum number of messages as a limit to poll at each polling. The default value is 10. Use 0 or a negative number to set it as unlimited.",
         "defaultValue": "10",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.moveAfterRead": {
         "name": "camel.source.endpoint.moveAfterRead",
         "description": "Move objects from S3 bucket to a different bucket after they have been retrieved. To accomplish the operation the destinationBucket option must be set. The copy bucket operation is only performed if the Exchange is committed. If a rollback occurs, the object is not moved.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.prefix": {
         "name": "camel.source.endpoint.prefix",
         "description": "The prefix which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.sendEmptyMessageWhenIdle": {
         "name": "camel.source.endpoint.sendEmptyMessageWhenIdle",
         "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.autocloseBody": {
         "name": "camel.source.endpoint.autocloseBody",
         "description": "If this option is true and includeBody is true, then the S3Object.close() method will be called on exchange completion. This option is strongly related to includeBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.exceptionHandler": {
         "name": "camel.source.endpoint.exceptionHandler",
         "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.exchangePattern": {
         "name": "camel.source.endpoint.exchangePattern",
         "description": "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.pollStrategy": {
         "name": "camel.source.endpoint.pollStrategy",
         "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.basicPropertyBinding": {
         "name": "camel.source.endpoint.basicPropertyBinding",
         "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.synchronous": {
         "name": "camel.source.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"
       },
       "camel.source.endpoint.backoffErrorThreshold": {
         "name": "camel.source.endpoint.backoffErrorThreshold",
         "description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.backoffIdleThreshold": {
         "name": "camel.source.endpoint.backoffIdleThreshold",
         "description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.backoffMultiplier": {
         "name": "camel.source.endpoint.backoffMultiplier",
         "description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.delay": {
         "name": "camel.source.endpoint.delay",
         "description": "Milliseconds before the next poll.",
         "defaultValue": "500L",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.greedy": {
         "name": "camel.source.endpoint.greedy",
         "description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.initialDelay": {
         "name": "camel.source.endpoint.initialDelay",
         "description": "Milliseconds before the first poll starts.",
         "defaultValue": "1000L",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.repeatCount": {
         "name": "camel.source.endpoint.repeatCount",
         "description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.",
         "defaultValue": "0L",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.runLoggingLevel": {
         "name": "camel.source.endpoint.runLoggingLevel",
         "description": "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]",
         "defaultValue": "\"TRACE\"",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.scheduledExecutorService": {
         "name": "camel.source.endpoint.scheduledExecutorService",
         "description": "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.scheduler": {
         "name": "camel.source.endpoint.scheduler",
         "description": "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler",
         "defaultValue": "\"none\"",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.schedulerProperties": {
         "name": "camel.source.endpoint.schedulerProperties",
         "description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.startScheduler": {
         "name": "camel.source.endpoint.startScheduler",
         "description": "Whether the scheduler should be auto started.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.timeUnit": {
         "name": "camel.source.endpoint.timeUnit",
         "description": "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]",
         "defaultValue": "\"MILLISECONDS\"",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.useFixedDelay": {
         "name": "camel.source.endpoint.useFixedDelay",
         "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.accessKey": {
         "name": "camel.source.endpoint.accessKey",
         "description": "Amazon AWS Access Key",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.source.endpoint.secretKey": {
         "name": "camel.source.endpoint.secretKey",
         "description": "Amazon AWS Secret Key",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.amazonS3Client": {
         "name": "camel.component.aws2-s3.amazonS3Client",
         "description": "Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.autoCreateBucket": {
         "name": "camel.component.aws2-s3.autoCreateBucket",
         "description": "Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.autoDiscoverClient": {
         "name": "camel.component.aws2-s3.autoDiscoverClient",
         "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.configuration": {
         "name": "camel.component.aws2-s3.configuration",
         "description": "The component configuration",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.overrideEndpoint": {
         "name": "camel.component.aws2-s3.overrideEndpoint",
         "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.pojoRequest": {
         "name": "camel.component.aws2-s3.pojoRequest",
         "description": "If we want to use a POJO request as body or not",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.policy": {
         "name": "camel.component.aws2-s3.policy",
         "description": "The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.proxyHost": {
         "name": "camel.component.aws2-s3.proxyHost",
         "description": "To define a proxy host when instantiating the SQS client",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.proxyPort": {
         "name": "camel.component.aws2-s3.proxyPort",
         "description": "Specify a proxy port to be used inside the client definition.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.proxyProtocol": {
         "name": "camel.component.aws2-s3.proxyProtocol",
         "description": "To define a proxy protocol when instantiating the S3 client One of: [HTTP] [HTTPS]",
         "defaultValue": "\"HTTPS\"",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.region": {
         "name": "camel.component.aws2-s3.region",
         "description": "The region in which S3 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()",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.trustAllCertificates": {
         "name": "camel.component.aws2-s3.trustAllCertificates",
         "description": "If we want to trust all certificates in case of overriding the endpoint",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.uriEndpointOverride": {
         "name": "camel.component.aws2-s3.uriEndpointOverride",
         "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.useIAMCredentials": {
         "name": "camel.component.aws2-s3.useIAMCredentials",
         "description": "Set whether the S3 client should expect to load credentials on an EC2 instance or to expect static credentials to be passed in.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.customerAlgorithm": {
         "name": "camel.component.aws2-s3.customerAlgorithm",
         "description": "Define the customer algorithm to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.customerKeyId": {
         "name": "camel.component.aws2-s3.customerKeyId",
         "description": "Define the id of Customer key to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.customerKeyMD5": {
         "name": "camel.component.aws2-s3.customerKeyMD5",
         "description": "Define the MD5 of Customer key to use in case CustomerKey is enabled",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.bridgeErrorHandler": {
         "name": "camel.component.aws2-s3.bridgeErrorHandler",
         "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.deleteAfterRead": {
         "name": "camel.component.aws2-s3.deleteAfterRead",
         "description": "Delete objects from S3 after they have been retrieved. The delete is only performed if the Exchange is committed. If a rollback occurs, the object is not deleted. If this option is false, then the same objects will be retrieve over and over again on the polls. Therefore you need to use the Idempotent Consumer EIP in the route to filter out duplicates. You can filter using the AWS2S3Constants#BUCKET_NAME and AWS2S3Constants#KEY headers, or only the AWS2S3Constants#KEY header.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.delimiter": {
         "name": "camel.component.aws2-s3.delimiter",
         "description": "The delimiter which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.destinationBucket": {
         "name": "camel.component.aws2-s3.destinationBucket",
         "description": "Define the destination bucket where an object must be moved when moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.destinationBucketPrefix": {
         "name": "camel.component.aws2-s3.destinationBucketPrefix",
         "description": "Define the destination bucket prefix to use when an object must be moved and moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.destinationBucketSuffix": {
         "name": "camel.component.aws2-s3.destinationBucketSuffix",
         "description": "Define the destination bucket suffix to use when an object must be moved and moveAfterRead is set to true.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.fileName": {
         "name": "camel.component.aws2-s3.fileName",
         "description": "To get the object from the bucket with the given file name",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.includeBody": {
         "name": "camel.component.aws2-s3.includeBody",
         "description": "If it is true, the exchange body will be set to a stream to the contents of the file. If false, the headers will be set with the S3 object metadata, but the body will be null. This option is strongly related to autocloseBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.includeFolders": {
         "name": "camel.component.aws2-s3.includeFolders",
         "description": "If it is true, the folders/directories will be consumed. If it is false, they will be ignored, and Exchanges will not be created for those",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.moveAfterRead": {
         "name": "camel.component.aws2-s3.moveAfterRead",
         "description": "Move objects from S3 bucket to a different bucket after they have been retrieved. To accomplish the operation the destinationBucket option must be set. The copy bucket operation is only performed if the Exchange is committed. If a rollback occurs, the object is not moved.",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.prefix": {
         "name": "camel.component.aws2-s3.prefix",
         "description": "The prefix which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.autocloseBody": {
         "name": "camel.component.aws2-s3.autocloseBody",
         "description": "If this option is true and includeBody is true, then the S3Object.close() method will be called on exchange completion. This option is strongly related to includeBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically.",
         "defaultValue": "true",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.basicPropertyBinding": {
         "name": "camel.component.aws2-s3.basicPropertyBinding",
         "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities",
         "defaultValue": "false",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.accessKey": {
         "name": "camel.component.aws2-s3.accessKey",
         "description": "Amazon AWS Access Key",
         "defaultValue": "null",
         "priority": "MEDIUM"
       },
       "camel.component.aws2-s3.secretKey": {
         "name": "camel.component.aws2-s3.secretKey",
         "description": "Amazon AWS Secret Key",
         "defaultValue": "null",
         "priority": "MEDIUM"
       }
     }
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #508: Generator a JSON metadata file for each connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #508:
URL: https://github.com/apache/camel-kafka-connector/issues/508#issuecomment-704041571


   Yeah, it is from Camel


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org