Configuring NiFi Registry Metadata Stores in Postgres
Postgres provides the option to use an externally located database that supports high availability.
Perform the following steps to use Postgres:
Postgres provides the option to use an externally located database that supports high availability.
Perform the following steps to use Postgres:
/path/to/drivers/postgresql-42.2.2.jar
createdb nifireg
psql nifireg
CREATE USER nifireg WITH PASSWORD 'changeme';
GRANT ALL PRIVILEGES ON DATABASE nifireg to nifireg;
\q
nifi.registry.db.url=jdbc:postgresql://<POSTGRES-HOSTNAME>/nifireg
nifi.registry.db.driver.class=org.postgresql.Driver
nifi.registry.db.driver.directory=/path/to/drivers
nifi.registry.db.username=nifireg
nifi.registry.db.password=changeme