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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]