SEZ9 commented on issue #10101:
URL: https://github.com/apache/seatunnel/issues/10101#issuecomment-7203369303

   @rucciva Thanks for confirming. I've noted that INSERT, the path your outbox 
pipeline uses, works on 3.1.0, and that DELETE does not raise the NPE.
   
   That fits the earlier analysis in this thread. On `dev` 
(`7b142da361aba7ec0a65edd5b5463e0040cc21c9`), the UPDATE path always calls 
`extractBeforeRow(...)`, and a missing Debezium `before` struct is dereferenced 
in the converter. This happens before `FilterRowKind` can drop the event, so an 
INSERT-only filter does not protect the job from it.
   
   Your result does not leave anything open on the JetStream sink side. What is 
left is the PostgreSQL-CDC problem, and I need two things from you:
   
   1. **Confirm the trigger.** Is the NPE raised only when an UPDATE hits the 
table, and never on INSERT or DELETE? Your comment covers INSERT and DELETE but 
does not say this explicitly.
   2. **Open a separate PostgreSQL-CDC bug report and link it here**, so this 
thread stays focused on JetStream. Please include:
      - a credential-free minimal config
      - the table DDL and one UPDATE statement that reproduces it
      - the PostgreSQL and Debezium versions
      - the table's actual replica-identity setting (your config has 
`require-replica-identity-full = false`)
      - the complete stack trace
   
   Once the report is linked, the fix discussion can continue there. As noted 
earlier, the fix needs a regression test for the missing-`before` UPDATE and a 
clear definition of the emitted changelog contract. It must not fabricate an 
old row or change the existing full-replica-identity behavior.
   
   <!-- streview-comment:2624 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to