Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend component kit Starter Stream Option

Hello,

 

For an Input component with polling function I want to keep the component alive until job is shutdown.

For this purpose I thaught using the Stream toggle when creating the input component skeleton would be perfect.

But when I actually use the Stream toggle button, I don't see a difference in the generated code.

Is there a example available somewhere of what the code should be when the Stream toggle is used?

 

Labels (1)
  • v7.x

1 Reply
Anonymous
Not applicable
Author

Hello @njozefzoon

 

you should have the infinite toggle set to true in the generated mapper:

 

@PartitionMapper(name = "MyComponent", infinite = true)