./mvnw package
./mvnw verify
Spock is a Data Driven Testing framework for Java and Groovy applications.
./mvnw verify -P extended-test
TBD
wget https://dlcdn.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz
tar xvzf kafka_2.13-3.0.0.tgz
mv kafka_2.13-3.0.0 kafka
cd kafka
# Start the ZooKeeper service
# Note: Soon, ZooKeeper will no longer be required by Apache Kafka.
bin/zookeeper-server-start.sh config/zookeeper.properties
# Start the Kafka broker service
bin/kafka-server-start.sh config/server.properties
Connecting to kafka on remote host:
# Change hostname in config/server.properties
listeners=PLAINTEXT://your.host.name:9092
Create topic
bin/kafka-topics.sh --create --topic a-topic-name --bootstrap-server localhost:9092 --partitions 1 --replication-factor 1
Verify your created topic
bin/kafka-topics.sh --describe --topic a-topic-name --bootstrap-server localhost:9092
List all topics
bin/kafka-topics.sh --bootstrap-server localhost:9092 --list
Write message to topic
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic a-topic-name
Read messages in a topic
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic rubik-hack.input --from-beginning
Delete a topic
bin/kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic rubik-hack.input
Steps:
- Install local Mysql
- Setup MySQL schema DDL
./mvnw clean verify -P boot,docker -DskipTests
- Build docker image for restapi, workers, web-ui
- Add contract-test, integration test for each module
- Build kubernetes chart for application