Skip to content

conduktor/conduktor-cloudera-quickstart-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudera + Conduktor

Conduktor Tech Overview

Link to this page

Prework

  • Download the certificates from cloudera getting_certs_from_cloudera

  • Convert the certificates to a JKS file

keytool -import -keystore zeke-test2-cdp-env.jks -alias zeke-test2-cdp-env -file zeke-test2-cdp-env.crt
  • Open up the firewalls on the kafka brokers and the schema registry on the cloudera platform screenshots from aws

  • add the certs to you console environment (the demo will automate this for you)

  • You will need set up the broker ids ** to figure out the broker ids of the kafka instances and set up the certificates. First you will need to edit line 12 in start.sh ** next you will need to configure the network alias of the instances in the docker-compose.yml file

          - broker-passthroughmain1546337502.conduktor-gateway-passthrough.sni-demo.local
          - broker-passthroughmain1546337526.conduktor-gateway-passthrough.sni-demo.local
          - broker-passthroughmain1546337550.conduktor-gateway-passthrough.sni-demo.local

How to start ?

Set the following Environment Variables

Name Recommended Values
CLOUDERA_PASSWORD cloudera password
CLOUDERA_USER cloudera csso user
CLOUDERA_JKS jks file you would download and set up in the above instructions
CLOUDERA_BOOTSTRAP_SERVERS set up the cloudera bootstrap servers

Execute the following command:

./start.sh

Wait a bit and you should get your Console up and running on [http://localhost:8080].

Possible logins

Login Password Role Local
[email protected] adminP4ss! Admin Yes
alice alice-secret Member LDAP
bob bob-secret Member LDAP

Enable the data generator

You can deploy a data generator here

Please configure the data generator to run through the gateway

##Self Service demo

You can follow everything here on this webpage and apply it to the cloudera demo

Enternal Data Sharing

you will need to edit the CSSO user for your own cloudera environment to correctly run this demo. please edit the file resources/external_virtual_cluster

you will need to deploy a partner zone

  1. login to the conduktor cli instance

docker compose exec -it conduktor-ctl /bin/sh

  1. apply the resources

conduktor apply -f resources/external_virtual_cluster

Encryption Demo

We will be encrypting the pizza Orders. We need to deploy the interceptors on the partner zone

add_chargeback_intercepter_1

add_encrypt_intercepter

Fill in the interceptor below or copy and paste from gateway-interceptors/encrypt-pizza-orders.json

add_encrypt_intercepter_2

Deploy it!

See your data encrypted

validate_encrypt

Chargeback Demo

You will need to login to the console and deploy the chargeback intercepter, you can follow the below steps

add_chargeback_intercepter_1 add_chargeback_intercepter_1 add_chargeback_intercepter_1

Once you have deployed the intercepter, make sure that you have all of your application traffic running through the Gateway

chargeback_overview

Data Schema Validation

You can use conductor to validate data schemas. If you take a look at the file schema_validation_cloudera.avsc you will see that we have field validation (age range, country of origin) is all there

How to stop the environment?

Execute the following command:

$ ./stop.sh

About

Setting up Conduktor with Cloudera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages