Deploy Open Source Datahub — Part II

Deploy datahub-frontend-react and datahub-gms Services

.setHeaders(request()            .getHeaders()            .toMap()            .entrySet()            .stream()            .filter(entry -> !AuthenticationConstants.LEGACY_X_DATAHUB_ACTOR_HEADER.equals(entry.getKey())) // Remove X-DataHub-Actor to prevent malicious delegation.            .filter(entry -> !Http.HeaderNames.CONTENT_LENGTH.equals(entry.getKey()))            .filter(entry -> !Http.HeaderNames.CONTENT_TYPE.equals(entry.getKey()))            .filter(entry -> !Http.HeaderNames.AUTHORIZATION.equals(entry.getKey()))            .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue))        )

Elastic Search (ES) Authentication

Custom ES Search Index Prefix

tagindex_v2
abc_mouse_tagindex_v2
INDEX_PREFIX=abc_mouse

Kakfa SSL

cp /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/cacerts /tmp/kafka.client.truststore.jks \
protocol: ${KAFKA_PROTOCOL:SSL}
ssl:
trustStoreLocation: ${KAFKA_TRUST_STORE_LOCATION}
trustStorePassword: ${KAFKA_TRUST_STORE_PASSWORD}
keyStoreLocation: ${KAFKA_KEY_STORE_LOCATION}
keyStorePassword: ${KAFKA_KEY_STORE_PASSWORD}
keyPassword: ${kAFKA_KEY_PASSWORD}
@Value("${kafka.protocol}")
private String protocol;

@Value("${kafka.ssl.trustStoreLocation}")
private String trustStoreLocation;

@Value("${kafka.ssl.trustStorePassword}")
private String trustStorePassword;

@Value("${kafka.ssl.keyStoreLocation}")
private String keyStoreLocation;

@Value("${kafka.ssl.keyStorePassword}")
private String keyStorePassword;

@Value("${kafka.ssl.keyPassword}")
private String keyPassword;
if (protocol != null && protocol.equals("SSL")) {
props.put("security.protocol", protocol);
props.put("ssl.truststore.location", trustStoreLocation);
props.put("ssl.truststore.password", trustStorePassword);
props.put("ssl.keystore.location", keyStoreLocation);
props.put("ssl.keystore.password", keyStorePassword);
props.put("ssl.key.password", keyPassword);
}
KAFKA_PROTOCOL=SSL
KAFKA_TRUST_STORE_LOCATION=
KAFKA_TRUST_STORE_PASSWORD=
KAFKA_KEY_STORE_LOCATION=
KAFKA_KEY_STORE_PASSWORD=
kAFKA_KEY_PASSWORD=

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Software Engineering Mythology

Simple steps to enable CORS in API Gateway through console/cloud formation

Single AWS SSO User To Access Multiple AWS Accounts Via AWS CLI

Game Assets via Filebase

Abell World Update #5

Widgets: Row

Intercom templates: using Intercom tags to manage feature flags 🚩🏷

Tag users in Intercom to enable feature flags

Detecting Sensitive Data Leaks That Matter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Liangjun Jiang

Liangjun Jiang

More from Medium

Deploy Open Source Datahub

Data Virtualization with Trino Part 2

How Does 360 DIGITECH process 10,000+ workflow instances per day by Apache DolphinScheduler?

Meltano — build a tap: from zero to hero in 10 minutes