Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Equivalent to "globalMap" in the new component kit

Hi, i m new to  developing  Talend components using the new component kit.

There is an equivalent to "globalMap" in the new component kit.that helps mainly to access connection,keystore and components into another component.

 

regards.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello @Bilel.Charradi ,

 

Not currently for two main reasons:

 

1. In a big data execution you wouldn't know which components are colocated or not so this information can be misleading

2. We try to ensure component are interoperable so they shouldn't assume what is after or before them

 

However you can always compensate this information either by some state in a service or (better) by some additional advanced configuration in each component.

 

Romain

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi @Bilel.Charradi ,

 

There is not such a concept because the kit enables to deploy component into the Studio and Big Data cluster where the computation is distributed so any "local" storage wouldn't work.

 

If you want to share between components of the same family some data, you can use a @Service bean which will act as a local storage (don't forget to either use some reference counting pattern or eviction timeout to not keep data forever). If you really want to share data between any component, you must store it elsewhere and read it from there (like an external storage or in memory data grid/cache).

Anonymous
Not applicable
Author

hi @rmannibucau 

 

thank you for your help, there is a way to be used in the service bean to get the list of actual components used in the actual job.

 


Capture20.PNG
Anonymous
Not applicable
Author

Hello @Bilel.Charradi ,

 

Not currently for two main reasons:

 

1. In a big data execution you wouldn't know which components are colocated or not so this information can be misleading

2. We try to ensure component are interoperable so they shouldn't assume what is after or before them

 

However you can always compensate this information either by some state in a service or (better) by some additional advanced configuration in each component.

 

Romain