Hi Team , I am missing anything with PostgresCDC f...
# troubleshooting
h
Hi Team , I am missing anything with PostgresCDC for Incermental Source. I do not see any change is printing with upsert.
Copy code
JdbcIncrementalSource<String> pgSource =
                    PostgresSourceBuilder.PostgresIncrementalSource.<String>builder()
                            .hostname("localhost")
                            .port(5432)
                            .database("postgres")
                            .schemaList("public")
                            .tableList("public.orders")
                            .username("postgres")
                            .password("postgres")
                            .slotName("orders_slot")
                            .decodingPluginName("pgoutput")

                            // optional: chunk key if no PK; see docs
                            //.chunkKeyColumn("id")
                            .deserializer(deserializer)
                            .build();

            DataStreamSource<String> stream =
                    env.fromSource(pgSource, WatermarkStrategy.noWatermarks(), "pg-cdc-incremental");

            stream.print();
            env.execute();