Hey Vitale!
> Yes, it is used during initial snapshot (phase 5) - in particular in the method readTableStructure.
So, can i assume that if one of those views are triggered it will trigger an event for the table?
> Never is not a valid mode for Oracle. Where you find it? And which Debezium version are you using
Found in the source code, but i just checked the comments and it's only valid for the MySql
io.debezium.snapshot.mode.never
> You should be able to just streaming using the configuration based. Can
you please share the whole log with the stacktrace of the error?
Yes, error bellow, as you can see it doesn't have a startScn so i thought it would start with the beginning avaiable data.
Mining session stopped due to error.
java.lang.NullPointerException: Cannot invoke "io.debezium.connector.oracle.Scn.compareTo(io.debezium.connector.oracle.Scn)" because "this.startScn" is null
at io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:157)
at io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:61)
at io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:280)
at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:197)
at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:140)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:317)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Producer failure