debezium / debezium/dbz

Not able to connect with Postgres flexible server [DBZ-8337]

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
component/postgresql-connector migrated-from-jira type/bug
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-8337](https://issues.redhat.com/browse/DBZ-8337)

I previously had a PostgreSQL single server where I set up publication and replication for tables and installed the Debezium connector on Azure to transfer data from PostgreSQL to Event Hubs. This setup was working fine, but after upgrading from single server to flexible server, the data push to Event Hubs has stopped working
h1. Bug report

debezium connector stopped working with postgres flexible server
h2. What Debezium connector do you use and what version?

2.3.0
h2. What is the connector configuration?

curl --location 'http://localhost:8083/connectors' \
--header 'Content-Type: application/json' \
--data '{
  "name": "cbd-debezium-connect-svc-pub",
  "config": {
    "plugin.name": "pgoutput",
    "connector.class": "io.debezium.connector.postgresql.PostgresConnector",
    "database.hostname": "database-fps.postgres.database.azure.com",
    "database.port": "5432",
    "database.user": "xxxx",
    "database.password": "xxxx",
    "database.dbname" : "xxx_docbase",
    "slot.name": "xxx_s_dbz",
    "message.key.columns": "abd_s:r_object_id",
    "replica.identity.autoset.values": "abd_s:INDEX d_1f01e2408999990b",
    "publication.name": "xxx_s_pub",
    "publication.autocreate.mode": "disabled",
    "topic.prefix": "dz-xxx.dar.abd_s",
    "table.include.list": "dxxx.abd_s",
    "time.precision.mode":"connect",
    "snapshot.mode": "never",
    "skipped.operations": "t"
  }
}'
h2. What is the captured database version and mode of deployment?

PostgreSQL flexible server 15.7
h2. What behavior do you expect?

data should push to eventhubs
h2. What behavior do you see?

data is not getting pushed to eventhubs
h2. Do you see the same behaviour using the latest released Debezium version?

(Ideally, also verify with latest Alpha/Beta/CR version)

h2. Do you have the connector logs, ideally from start till finish?

(You might be asked later to provide [DEBUG/TRACE|https://debezium.io/documentation/reference/stable/operations/logging.html] level log)

h2. How to reproduce the issue using our [tutorial|https://github.com/debezium/debezium-examples/tree/main/tutorial] deployment?

h1. Feature request or enhancement

For feature requests or enhancements, provide this information, please:
h2. Which use case/requirement will be addressed by the proposed feature?

h2. Implementation ideas (optional)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the PostgreSQL flexible server setup with the supplied Debezium connector configuration and compare it with the referenced tutorial deployment. Collect the connector logs requested in the report and verify behavior against the expected data push to Event Hubs; done means changes reach Event Hubs reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, postgresql
Domain
cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.