Issue with Multiple Debezium/XStream Connectors on Oracle CDB with RAC

19 views
Skip to first unread message

Norberto da Silva Prado

unread,
Jul 3, 2025, 11:19:34 AMJul 3
to debezium

Has anyone encountered this scenario with Kafka Debezium connectors using XStream?

I have two connectors configured with XStream—each with a capture and two outbound—pointing to an Oracle CDB database with RAC, using SCAN and a TNS configuration that also uses SCAN.

Each connector targets a different schema, located in separate PDBs, but within the same CDB instance.

Here’s the behavior I’m observing:

  • The first connector starts up normally but does not generate the expected topics.
  • The second connector also starts, but fails shortly after, showing the following: [ERROR] 2025-07-03 14:58:34,970 [debezium-oracleconnector-oracle_source_xst_sgm_mts-change-event-source-coordinator] io.debezium.pipeline.ErrorHandler setProducerThrowable - Producer failure oracle.streams.StreamsException: ORA-26913: must connect to instance 3 where XStream Outbound server "XOUT_SERVER_SGMMTSPR" is running

Has anyone seen this before or have any idea what might be causing it? Could it be related to how SCAN is resolving connections or how the outbound servers are configured in the RAC environment?

Chris Cranford

unread,
Jul 3, 2025, 12:23:33 PMJul 3
to debe...@googlegroups.com
Hi

While Debezium will use the driver's SCAN options for connectivity and initial snapshots as this is all pure JDBC and your target is the database service, when you transition to streaming, Debezium interfaces with XStream, which cannot benefit from SCAN.

The underlying reason is that XStream is not a typical database service, its a service process that exists solely on one of N RAC instances on the cluster, and so for the client to successfully connect, you must point specifically to that instance.

So for XStream deployments, you have two options:

1. Configure the connector to use the physical IP addresses of the instance that runs XStream.
2. Have the DBA team create a specific TNS service that is pinned to that Oracle RAC node instance and connect to that service.

As to your first point, where it starts but does not generate expected topics, have you tried enabling DEBUG logging and if so, could you share those logs?

Thanks,
-cc
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/567a0e58-a0f5-410b-9294-743423e12d15n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages