You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "heye1005 (via GitHub)" <gi...@apache.org> on 2026/06/30 10:51:24 UTC
Re: [PR] [Fix][E2E] Wait for Postgres CDC WAL stream readiness [seatunnel]
heye1005 commented on code in PR #11202:
URL: https://github.com/apache/seatunnel/pull/11202#discussion_r3498137111
##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-postgres-e2e/src/test/java/org/apache/seatunnel/connectors/seatunnel/cdc/postgres/PostgresCDCIT.java:
##########
@@ -251,6 +254,28 @@ private Properties kafkaConsumerConfig() {
return props;
}
+ /**
+ * Replication slots are shared inside the reused Postgres test container, so each CDC job needs
+ * an isolated slot to avoid cross-test collisions when streaming jobs overlap.
+ */
+ private String createSlotName() {
+ return "seatunnel_" + Long.toHexString(JobIdGenerator.newJobId());
Review Comment:
use GENERATED_SLOT_PREFIX
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org