Skip to content

Demo/docs/snippets of external_source_url in OPAL_DATA_CONFIG_SOURCES #156

Answered by asafc
hongbo-miao asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hongbo-miao, let's break down how an external data sources setup looks like.

General Architecture

When do you need to configure an external data source?

If each of your OPAL clients needs a slightly different configuration, you cannot use a static config var like OPAL_DATA_CONFIG_SOURCES to store your configuration. In such case, you want OPAL server to return a different DataSourceEntry configuration based on the identity of the OPAL client asking for the config.

Can different OPAL client have different "identities"?

Yes!! And they should!!

Each of your opal clients should use a unique JWT token issued to it by the OPAL server.
You can learn how to generate your OPAL client token here.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@hongbo-miao
Comment options

@asafc
Comment options

@hongbo-miao
Comment options

Answer selected by hongbo-miao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants