Skip to content

Commit

Permalink
Remove Mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRegan committed Oct 16, 2020
1 parent 2577834 commit 61b17b4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 93 deletions.
5 changes: 0 additions & 5 deletions Camel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mongodb3-starter</artifactId>
<version>2.24.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
Expand Down

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions Camel/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ camel.message-producer.from = file:../Data/?noop=true&maxMessagesPerPoll=1&delay
camel.message-producer.error = file:../Error/Initial
camel.message-producer.kafka = kafka:rawTaxi?brokers=localhost:9092

camel.message-consumer.kafka = kafka:rawTaxi?brokers=localhost:9092
camel.message-consumer.error = file:../Error/DataLake
camel.message-consumer.datalake = mongodb3://mongoBean?database=taxi&collection=nyc&operation=insert&createCollection=true

camel.elastic.kafka = kafka:cookedTaxi?brokers=localhost:9092
camel.elastic.error = file:../Error/Elastic
camel.elastic.search = elasticsearch-rest://elasticsearch_aaron?operation=INDEX&indexName=taxi_nyc&indexType=trip
Expand All @@ -18,7 +14,4 @@ spring.kafka.port=9092
camel.component.elasticsearch-rest.client=https://elasticsearch_aaron:9200
camel.component.elasticsearch-rest.host-addresses=localhost:9200

mongodb.host = 127.0.0.1
mongodb.port = 27017

logging.level.org.apache.camel= INFO
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ Kibana (https://www.elastic.co/products/kibana) is an open source data visualiza

This can be accessed when the app is running via entering: `https://localhost:5601` into your browser.

### MongoDB

MongoDB (https://www.mongodb.com/) is a cross-platform document-oriented database program. Classified as a NoSQL
database program, MongoDB uses JSON-like documents with schemata. MongoDB is developed by MongoDB Inc. and licensed
under the Server Side Public License (SSPL).

### Docker

Docker (https://www.docker.com/) is a collection of interoperating software-as-a-service and platform-as-a-service offerings that employ operating-system-level virtualization to cultivate development and delivery of software inside standardized software packages called containers.
Expand Down
14 changes: 0 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,11 @@ services:
camel.message-producer.from: file:/Data/?noop=true&maxMessagesPerPoll=1&delay=5000
camel.message-producer.kafka: kafka:rawTaxi?brokers=kafka-gateway:9092
camel.message-consumer.kafka: kafka:rawTaxi?brokers=kafka-gateway:9092
mongodb.host: mongodb-gateway
camel.elastic.kafka: kafka:cookedTaxi?brokers=kafka-gateway:9092
depends_on:
- kafka-gateway
networks:
- streaming

mongodb-gateway:
container_name: mongo
image: mongo:3.6
volumes:
- ./data/db:/var/micro-data/mongodb/data/db
environment:
- MONGODB_INITDB_DATABASE=taxi
- MONGODB_INITDB_COLLECTION=nyc
ports:
- 27017:27017
networks:
- streaming

networks:
streaming:

0 comments on commit 61b17b4

Please sign in to comment.