Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

5/12/2020

Reading time:N/A min

clun/kafka-dse

by clun

Projects overview :kafka-dse-core contains domain beans and utility classeskafka-dse-producer is a standalone Spring Boot application that generates random Tick Data load from AlphaVantage and then randomkafka-dse-webui is the standalone web UI.Use docker compose to start all componentsdocker-compose up -dA docker ps command will list you the following containers :datastax/dse-server:6.7.0 is the DataStax enterprise server (listening on 9042)datastax/dse-studio:6.7.0 is the WebUI available 9091 DataStax Studio wurstmeister/zookeeper:3.4.6 is the Zookeeper ensuring consistency for Kafka (listening on 2181)wurstmeister/kafka:1.0.0 the kafka server (listening on 9092)2. Start the kafka-dse-producer component.Open the folder kafka-dse-producer :# Start Web Applicationmvn spring-boot:run This will create the KeySpace demo_kafka if needed, the tables to work with and fill the reference table stocks_infos with Data coming fron the CSVThis is a Camel Application with no UI, still you should access the SpringBoot Administration Console3. Start the kafka-dse-webui component.Open the folder kafka-dse-webui :# Start Web Applicationmvn spring-boot:run Access the web UI

Illustration Image

Projects overview :

image

Use docker compose to start all components

docker-compose up -d

A docker ps command will list you the following containers :

  • datastax/dse-server:6.7.0 is the DataStax enterprise server (listening on 9042)
  • datastax/dse-studio:6.7.0 is the WebUI available 9091 DataStax Studio
  • wurstmeister/zookeeper:3.4.6 is the Zookeeper ensuring consistency for Kafka (listening on 2181)
  • wurstmeister/kafka:1.0.0 the kafka server (listening on 9092)

2. Start the kafka-dse-producer component.

Open the folder kafka-dse-producer :

# Start Web Application
mvn spring-boot:run 

This will create the KeySpace demo_kafka if needed, the tables to work with and fill the reference table stocks_infos with Data coming fron the CSV

This is a Camel Application with no UI, still you should access the SpringBoot Administration Console

image

3. Start the kafka-dse-webui component.

Open the folder kafka-dse-webui :

# Start Web Application
mvn spring-boot:run 

Access the web UI

Related Articles

cluster
troubleshooting
datastax

GitHub - arodrime/Montecristo: Datastax Cluster Health Check Tooling

arodrime

4/3/2024

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra