Skip to content

How to use atlas-postgres module as the database backend? #1890

@0xdu

Description

@0xdu

Question

I'd like to use PostgreSQL as the database backend for Atlas instead of the default MemoryDatabase. I see there is an atlas-postgres module in the repository with PostgresDatabase and PostgresService classes, but I couldn't find any documentation on how to configure and use it.

The Atlas documentation site doesn't seem to cover the PostgreSQL backend at all.

What I'm trying to do

Replace the in-memory database in memory.conf:

atlas.core.db {
  class = "com.netflix.atlas.core.db.MemoryDatabase"
}

with a PostgreSQL-backed database using the atlas-postgres module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions