https://github.com/rogervinas/spring-boot-camel-kafka-cassandra
🐪 Spring Boot Camel + Kafka + Cassandra
https://github.com/rogervinas/spring-boot-camel-kafka-cassandra
apache-camel cassandra kafka spring-boot
Last synced: about 2 months ago
JSON representation
🐪 Spring Boot Camel + Kafka + Cassandra
- Host: GitHub
- URL: https://github.com/rogervinas/spring-boot-camel-kafka-cassandra
- Owner: rogervinas
- Created: 2024-06-25T16:25:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-15T10:08:05.000Z (about 2 months ago)
- Last Synced: 2025-05-15T11:23:24.724Z (about 2 months ago)
- Topics: apache-camel, cassandra, kafka, spring-boot
- Language: Java
- Homepage:
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/rogervinas/spring-boot-camel-kafka-cassandra/actions/workflows/ci.yml)




# Spring Boot + Apache Camel + Kafka + Cassandra
Documentation:
* [Cassandra CQL Camel Component](https://camel.apache.org/components/4.4.x/cql-component.html)# Test
```shell
./gradlew check
```# Run
```shell
docker compose up -d
./gradlew bootRun
docker compose down
```# Build and Run Jar
```shell
docker compose up -d
./gradlew build
java -jar build/libs/spring-boot-camel-kafka-cassandra-0.0.1-SNAPSHOT.jar
docker compose down
```# CQL shell
```shell
docker compose up -d
docker exec -it spring-boot-camel-kafka-cassandra-cassandra-1 cqlsh cassandra 9042 --cqlversion='3.4.7'
use test_keyspace;
select * from hits;
```# Send to Kafka using [kcat](https://github.com/edenhill/kcat)
```shell
kcat -b localhost:9094 -t hits -P src/test/resources/message.json
```