lejinghu opened a new issue, #15061:
URL: https://github.com/apache/druid/issues/15061

   ### Affected Version
   
   27.0.0
   
   ### Description
   
   When using globally cached lookups but the extension 
"druid-lookups-cached-global" is not enabled, druid historical services (and 
potentially other services using lookups) will log the full connector 
configuration including uri, user, and password in plaintext.
   
   
   ```
   2023-09-29T19:14:40,084 WARN [main] 
org.apache.druid.query.lookup.LookupUtils - Lookup [my-lookup] could not be 
serialized properly. Please check its configuration. Error: Could not resolve 
type id 'cachedNamespace' as a subtype of 
`org.apache.druid.query.lookup.LookupExtractorFactory`: known type ids = [map] 
(for POJO property 'lookupExtractorFactory')
    at [Source: 
(byte[])"{"version":"lookup_version_to_replace","lookupExtractorFactory":{"type":"cachedNamespace","extractionNamespace":{"valueColumn":"XXX","table":"XXX","keyColumn":"XXX","connectorConfig":{"connectURI":"XXX","user":"XXX","password":"XXX"},"pollPeriod":"PT30S","type":"jdbc"}}}";
 line: 1, column: 73] (through reference chain: 
org.apache.druid.query.lookup.LookupExtractorFactoryContainer["lookupExtractorFactory"])
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to