cyxinda opened a new issue #7967:
URL: https://github.com/apache/dolphinscheduler/issues/7967


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   **[Feature][Major] The feature of globally unique ID should be added**
   Currently,there are only four kinds of built-in params in 
dolphin,${system.biz.date},${system.biz.curdate},${system.datetime} and 
$[yyyyMMddHHmmss].It is not enough.I have no idea how to use a globally unique 
ID among different task nodes in a same scheduling process .So I suggest it is 
necessary to add this feature.
   
   
   I think this feature is very important in embedding third party systems.it 
is very simple idea to pass custom parameters in different processes.
   
   There is a very good implementation to learn from uid-generator. and its  
resource address: https://github.com/baidu/uid-generator
   
   
   All.
   
   ### Use case
   
   1. It is necessary to add an additional module to the dolphinscheduler 
source code, which will start an uid-generator service process.
   2. Add a variable named uuid to the module of dolphinscheduler-common .the 
value of the variable named uuid come from the service of uid-generator  above .
   the location of code is in the 75rd line of the class of 
org.apache.dolphinscheduler.common.utils.placeholder.BusinessTimeUtils:
   
![image](https://user-images.githubusercontent.com/7237898/149134742-950b7567-0f7a-4dd0-93df-ff64ee61eb0a.png)
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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