Skip to content

Question about the 'labels' property of JobInstance object #2443

@ooooooook

Description

@ooooooook

Question

For English only, other languages will not accept.

Before asking a question, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.


I have a question regarding the 'labels' property of the JobInstance object. What is its purpose? I cannot find any instances where this 'labels' property is being set or retrieved (get/set). Could someone please provide some clarity on this?

Thank you!

I can get the labels property, but it is always null.
image

This property was not set when the program started.
image

Maven dependency:

          <dependency>
              <groupId>org.apache.shardingsphere.elasticjob</groupId>
              <artifactId>elasticjob-spring-boot-starter</artifactId>
              <version>3.1.0-SNAPSHOT</version>
          </dependency>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions