Gerdan Santos created NIFI-4239:
-----------------------------------
Summary: Implement a CaptureChangePostgreSQL processor
Key: NIFI-4239
URL: https://issues.apache.org/jira/browse/NIFI-4239
Project: Apache NiFi
Issue Type: New Feature
Components: Extensions
Reporter: Gerdan Santos
Inspired on CaptureChangeMySQL, this processor can use one Streaming
Replication PostgreSQL Connection to allow access to their transactional logs
and such, in order for external clients to have a "change data capture" (CDC)
capability.
The processor would include properties needed for PostgreSQL connectivity
PostgreSQL Streaming Replication. It would also need to keep a "sequence ID"
such that an EnforceOrder processor (NIFI-3414) for example could guarantee the
order of CDC events for use cases such as replication.
It will likely need State Management for that, and may need other facilities
such as a DistributedMapCache in order to keep information (column names and
types, e.g.) that enrich the raw CDC events.
The processor would accept no incoming connections (it is a "get" or source
processor), would be intended to run on the primary node only as a single
threaded processor, and would generate a flow file for each operation (INSERT,
UPDATE, DELETE, e.g.) in one or some number of formats (JSON, e.g.).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)