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

   ### 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
   
   updated config template adding shade.identifier with mine encryption 
identifier , it seems not recognized, and into the log I see
   
   2024-07-05 15:25:47,914 INFO  [o.a.s.c.s.u.ConfigShadeUtils  ] [main] - Load 
config shade spi: [base64]
   2024-07-05 15:25:48,101 INFO  [o.a.s.c.s.c.ConfEncryptCommand] [main] - 
Encrypt config: 
   
   and nothing happen ( the file is not encrypted).
   shade.identifier = "base64" works as expected.
   
   ConfigShade implementation jar is located into ${SEATUNNEL_HOME}/lib
   it structure is:
   org\myapp\classes\*  for ConfigShade implementation
   
resources\META-INF\services\org.apache.seatunnel.api.configuration.ConfigShade
   META-INF\*   maven project folder
   
   here a snippet:
   
   [...]
   public class Myconfigshade implements ConfigShade {
       private static Logger logger = 
LoggerFactory.getLogger(Myconfigshade.class);
   
        @Override
        public String getIdentifier() {
                // TODO Auto-generated method stub
   
                return "myprotection";
        }
   
        @Override
        public String encrypt(String content) {
   [...]
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env" : {
           "parallelism" : 2,
           "job.mode" : "STREAMING",
           "job.name" : "SeaTunnel_Job",
           "read_limit.bytes_per_second" : 7000000,
           "read_limit.rows_per_second" : 400,
           "checkpoint.interval" : 10000,
           "shade.identifier" : "myprotection"
       },
       "source" : [
           {
   [...]
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.bat --config config/v2.batch.template --encrypt
   ```
   
   
   ### Error Exception
   
   ```log
   no error reported
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   openjdk version "21.0.2" 2024-01-16
   
   ### 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