- https://www.postgresql.org/docs/
- https://www.postgresql.org/docs/current/auth-methods.html
- https://www.postgresql.org/docs/current/sql.html
Core Functionality
- Connects to a PostgreSQL database using standard TCP connectivity.
- Reads data from a specified database table.
- Converts relational rows into structured JSON records.
- Publishes ingested records into a Condense Kafka topic.
- Enables downstream processing, transformations, and analytics.
- Database Connection – The connector establishes a connection to the PostgreSQL server using the provided hostname, port, and credentials.
- Table Access – The configured table name is used as the source for data ingestion.
- Data Retrieval – Rows from the table are read and mapped into structured JSON messages.
- Publishing to Condense Topic – Each record is published to the configured Condense output topic for further processing.
Field-by-Field Explanation
1. Title
- Description: A user-defined name to identify the PostgreSQL Input Connector.
- Example:
Postgres_Input_Connector_Prod
2. PostgreSQL Hostname
- Description: Hostname or IP address of the PostgreSQL server.
- Example:
postgres-db.internal.company.com
3. PostgreSQL Port
- Description: Port on which the PostgreSQL server is listening.
- Default:
5432 - Example:
5432
4. Database Username
- Description: Username used to authenticate with the PostgreSQL database.
- Example:
condense_reader
5. Database Password
- Description: Password associated with the PostgreSQL database user.
- Example:
********
6. Database Name
- Description: Name of the PostgreSQL database from which data will be read.
- Example:
analytics_db
7. Table Name
- Description: Name of the table to be ingested into Condense.
- Example:
users,orders,transactions
8. Output Topic
- Description: The Condense Kafka topic where ingested PostgreSQL records will be published.
- Example:
postgres_input_stream
- Verify the hostname and port.
- Ensure PostgreSQL allows inbound connections from Condense.
- Confirm the username and password.
- Ensure the database user has read access to the specified table.
- Verify the table exists.
- Ensure the output topic is configured and active in Condense.
- Ensure the database user has
SELECTprivileges on the configured table.
- Large tables may generate high event volumes. Configure downstream topics to handle the expected throughput.
- PostgreSQL column types are serialized into equivalent JSON values.
- NULL values are preserved in the output JSON payload.
- Use dedicated read-only database users for ingestion.
- Use separate output topics for different tables or business domains.
- Apply downstream transforms for filtering or enrichment.
- Use descriptive connector names for easier management.
- Monitor connector health and topic throughput through Condense observability.