SEZ9 commented on issue #10101: URL: https://github.com/apache/seatunnel/issues/10101#issuecomment-7175176120
@rucciva thanks for moving to 3.1.0 and sharing the job config and the Scala script. Based on the analysis posted above in this thread, the failure you hit is not in the JetStream sink path: - It is raised in PostgreSQL CDC deserialization, before `FilterRowKind`, `DynamicCompile` or the NATS sink can see the event. - On current `dev` (`7b142da361aba7ec0a65edd5b5463e0040cc21c9`), the UPDATE path always extracts the `before` row. When the Debezium `before` struct is missing, the converter dereferences it and hits the NPE, so the INSERT-only filter never gets a chance to drop the UPDATE. That means we still don't know whether the sink path itself works for you on 3.1.0. Two things would help: 1. Please open a separate PostgreSQL-CDC bug report and link it here, so this issue stays focused on JetStream. Include a credential-free minimal config, the table DDL and one UPDATE statement that triggers the failure, the PostgreSQL/Debezium versions, the table's actual replica identity setting, and the complete stack trace. 2. If you can run a test with INSERT-only traffic on `outboxce`, please let us know whether messages arrive on `service.test` and whether the `subject`, `headers` and `data` columns from your script are mapped as you expect. If the sink misbehaves in that test, post the error here and I'll help narrow it down with a small example. <!-- streview-comment:2602 --> -- 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]
