rarexixi opened a new issue #1440:
URL: https://github.com/apache/incubator-seatunnel/issues/1440


   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   I have changed the method of Java SPI, move SPI configuration file to 
`META-INF/provides/`
   configuration file content:
   old
   ```
   org.apache.seatunnel.xxx
   ```
   new
   ```
   // plugin_name is the specific name in the configuration file
   plugin_name=org.apache.seatunnel.xxx
   ```
   
   ### Usage Scenario
   
   example
   file: 
`seatunnel-transforms/seatunnel-transform-spark-sql/src/main/resources/META-INF/services/org.apache.seatunnel.spark.BaseSparkTransform`
   
   content: 
   ```
   spark_sql=org.apache.seatunnel.spark.transform.Sql
   ```
   
   configuration file
   ```
   // ...
   transform {
       sql {
           // modify from "sql" to "spark_sql"
           spark_sql = "select * from accesslog where request_time > 1000"
       }
   }
   // ...
   ```
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] 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