Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws keyspace configs for dev hmda-platform #4918

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

zencircle
Copy link
Contributor

@zencircle zencircle commented Oct 23, 2024

Readme

For Apache Cassandra(k8ssandra) with PlainTextAuthProvider use "persistence.conf"
For AWS Keyspace with PlainTextAuthProvider use "persistence-keyspace.conf"
For AWS Keyspace with SigV4AuthProvider "persistence-keyspace-sigv4.conf"

hmda/src/main/resources/application.conf
hmda/src/main/resources/application-kubernetes.conf
hmda-analytics/src/main/resources/application.conf
modified-lar/src/main/resources/application.conf

Environment variables for Apache Cassandra(k8ssandra) with PlainTextAuthProvider use "persistence.conf"

export CASSANDRA_CLUSTER_HOSTS="10.x.x.x:9042"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_USERNAME=xxx
export CASSANDRA_CLUSTER_DC=xxx
export CASSANDRA_CLUSTER_PASSWORD=xxx

Environment variables for AWS Keyspace with PlainTextAuthProvider use "persistence-keyspace.conf"

export CASSANDRA_TRUSTSTORE_FILE="/tmp/cassandra_truststore.jks"
export CASSANDRA_TRUSTSTORE_PASSWORD="xxx"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_DC="us-east-1"
export CASSANDRA_CLUSTER_USERNAME="xxx"
export CASSANDRA_CLUSTER_PASSWORD="xxx"

Environment variables for AWS Keyspace with SigV4AuthProvider "persistence-keyspace-sigv4.conf"

export CASSANDRA_TRUSTSTORE_FILE="/tmp/cassandra_truststore.jks"
export CASSANDRA_TRUSTSTORE_PASSWORD="xxx"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_DC="us-east-1"
export CASSANDRA_CLUSTER_USERNAME="xxx"
export CASSANDRA_CLUSTER_PASSWORD="xxx"
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant