add configuration item label_prefix for spark doris sink for tracking writing source when troubleshooting
Problem Summary:
In current version of spark doris sink, the label generation strategy is spark_streamload_YYYYMMDD_HHMMSS_{UUID}, if the doris cluster becomes unstable due to some spark writing tasks, it will be difficult to find the spark writing task. using this configuration item, we can configure some value with business meanings to allow us to locate the writing task quickly. for example we can configure this item to the application id of the writing task.
Checklist(Required)
Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...
Proposed changes
add configuration item label_prefix for spark doris sink for tracking writing source when troubleshooting
Problem Summary:
In current version of spark doris sink, the label generation strategy is
spark_streamload_YYYYMMDD_HHMMSS_{UUID}
, if the doris cluster becomes unstable due to some spark writing tasks, it will be difficult to find the spark writing task. using this configuration item, we can configure some value with business meanings to allow us to locate the writing task quickly. for example we can configure this item to the application id of the writing task.Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...