christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1024924506
##########
kamelets/aws-s3-source.kamelet.yaml:
##########
@@ -107,13 +107,28 @@ spec:
description: The number of milliseconds before the next poll of the
selected bucket.
type: integer
default: 500
+ outputFormat:
Review Comment:
its in the Kamelet specification. The default supported output/input types
are specified and described in the Kamelet spec. Like this:
```yaml
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
name: aws-s3-source
labels:
camel.apache.org/kamelet.type: "source"
spec:
definition:
title: "AWS S3 Source"
type: object
properties:
bucketNameOrArn:
title: Bucket Name
description: The S3 Bucket name or ARN
type: string
...
output:
default: binary
types:
binary:
mediaType: application/octet-stream
json:
mediaType: application/json
dependencies:
- "camel:jackson"
schema:
type: object
properties:
key:
title: S3 key
description: The S3 key identifier
type: string
fileContent:
title: File content
description: The file content as String
type: string
```
This is the place where each data type is able to specify a schema and
additional dependencies, too.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]