cobolbaby opened a new issue, #7900:
URL: https://github.com/apache/seatunnel/issues/7900

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   使用 IDEA 调试时总报 'Plugin PluginIdentifier{engineType='seatunnel', 
pluginType='source', pluginName='Postgres-CDC'} not found.'
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set engine configuration here
     execution.parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
     read_limit.bytes_per_second=7000000
     read_limit.rows_per_second=400
   }
   
   source {
     Postgres-CDC {
       # 源端数据库 JDBC Url
       result_table_name = "ITC_PG_DAuth_CDC"
       username = "***"
       password = "***"
       database-names = ["ITCDAuth"]
       schema-names = ["public"]
       table-names = ["ITCDAuth.public.account_login_log", 
"ITCDAuth.public.ldap_sync_accout"]
       base-url = "jdbc:postgresql://****/ITCDAuth"
     }
   }
   
   transform {
   
   }
   
   sink {
     jdbc {
       # https://seatunnel.apache.org/docs/2.3.8/connector-v2/sink/Jdbc
       source_table_name = "ITC_PG_DAuth_CDC"
       url = "jdbc:postgresql://***/ITCDAuth"
       driver = "org.postgresql.Driver"
       user = "***"
       password = "***"
   
       # You need to configure both database and table
       database = "ITCDAuth"
       table = "${schema_name}.${table_name}"
       primary_keys = ["${primary_key}"]
       schema_save_mode = "IGNORE"
     }
   }
   ```
   ```
   
   
   ### Running Command
   
   ```shell
   IDE 调试
   ```
   
   
   ### Error Exception
   
   ```log
   Exception in thread "main" java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='source', 
pluginName='Postgres-CDC'} not found.
        at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:237)
        at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:177)
        at 
org.apache.seatunnel.core.starter.execution.PluginUtil.fallbackCreate(PluginUtil.java:128)
        at 
org.apache.seatunnel.core.starter.execution.PluginUtil.createSource(PluginUtil.java:82)
        at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.initializePlugins(SourceExecuteProcessor.java:114)
        at 
org.apache.seatunnel.core.starter.flink.execution.FlinkAbstractPluginExecuteProcessor.<init>(FlinkAbstractPluginExecuteProcessor.java:67)
        at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.<init>(SourceExecuteProcessor.java:61)
        at 
org.apache.seatunnel.core.starter.flink.execution.FlinkExecution.<init>(FlinkExecution.java:90)
        at 
org.apache.seatunnel.core.starter.flink.command.FlinkTaskExecuteCommand.execute(FlinkTaskExecuteCommand.java:59)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.example.flink.v2.SeaTunnelApiExample.main(SeaTunnelApiExample.java:39)
   
   ```
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Flink: 1.18.1
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to