Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Custom Component Rules

Hi,

I'm considering developing a custom component for Data Integration. Are there any guidelines for custom components if I want to upload them to Talend Exchange?

 

Specifically, can I make a component which will send a file to a server where I can process it with a propietary algorithm and return the data? Or is including the algorithm in the component itself the only allowed method?

Labels (2)
13 Replies
Anonymous
Not applicable
Author

@siva227 in the "kit" we try to avoid any representation which can be "local" and we enforce to go through "Record" (or JsonObject) abstraction to try to guarantee that. It is also not possible to send a stream since the processing can be distributed and it wouldn't work. However, nothing prevents you to send a record describing the file (caricaturally {filename: /path/to/file}) and have a http component able to read from the file path in the record to do a post.

Anonymous
Not applicable
Author

Thanks @rmannibucau. I wanted to include the post part within the component so that users wouldn't have add any more components. To clarify, using a http component is the only way to send a file? It can't be done from within the custom component?

Anonymous
Not applicable
Author

Hi @siva227 ,

 

there is a http client in the kit out of the box ([1]) so you can send it directly or write an output component doing that (likely better).

 

[1] https://talend.github.io/component-runtime/main/1.1.13/services-built-in.html#httpclient_usage

 

 

Jjobs1595857508
Contributor
Contributor

Thanks for the detailed guide and description.

Best regards, My Boy Apk