Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion mongodb-kafka-opensearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ This stack was tested on Mac OS Sonoma on Apple M1 Max hardware. Some additional

## Prerequisites
- [Podman Desktop](https://podman-desktop.io/): Docker Desktop might also work.
- Create the `.env` file
```
cp .env.sample .env
```

> You should update MONGO_ADMIN_PASSWORD and OPENSEARCH_ADMIN_PASSWORD passwords in the `.env` file. If you change MONGO_ADMIN_PASSWORD you will also need to update [mongodb-source.json](./mongodb-source.json).

## Launch Stack
```
Expand Down Expand Up @@ -51,7 +56,7 @@ You should see the MongoDB source and Opensearch sink:
## MongoDB

### Initiate the Replica Set
Until this gets automated you will need to _manually_ initialize (initiate) the replica set.
For now, you will need to _manually_ initialize (initiate) the replica set.

First, log in to MongoDB using Mongo Shell (`mongosh`). Enter the password when prompted:
```
Expand Down
4 changes: 2 additions & 2 deletions mongodb-kafka-opensearch/mongodb-source.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"transforms.unwrap.type": "io.debezium.connector.mongodb.transforms.ExtractNewDocumentState",
"mongodb.connection.string": "mongodb://mongodb:27017/?replicaSet=rs0",
"topic.prefix": "mongodb",
"mongodb.user": "root",
"mongodb.password": "example",
"mongodb.user": "admin",
"mongodb.password": "UPDATE4this*password",
"database.include.list": "inventory"
}
}