Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unkown lookup type loadingLookup when using druid-lookups-cached-single #15936

Open
mariuskimmina opened this issue Feb 21, 2024 · 0 comments
Open

Comments

@mariuskimmina
Copy link

mariuskimmina commented Feb 21, 2024

Affected Version

28.0.1

Description

I enabled the core-extension druid-lookups-cached-single and then I tried to create a new loadingLookup which should be provided by the extension. I first noticed that I could not pick the loadingLookup as the type in the console. I then used JSON instead with the following config:

{
   "type":"loadingLookup",
   "dataFetcher":{ "type":"jdbcDataFetcher", "connectorConfig":"jdbc://mysql://localhost:3306/my_data_base", "table":"lookup_table_name", "keyColumn":"key_column_name", "valueColumn": "value_column_name"},
   "loadingCacheSpec":{"type":"guava"},
   "reverseLoadingCacheSpec":{"type":"guava", "maximumSize":500000, "expireAfterAccess":100000, "expireAfterWrite":10000}
}

Which results in "Unkown lookup type loadingLookup".

The above config is taken from the documentation of the extension: https://druid.apache.org/docs/latest/development/extensions-core/druid-lookups/

I have also adjusted the dataFetcher config in the example above for my database but I don't think that makes any difference here as the type loadingLookup just doesn't seem to be present.

I can see the extension being present in the console, as shown in the screenshot below
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant