You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/appendix-task-repository-schema.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ Stores the task execution information.
20
20
|TASK_EXECUTION_ID |TRUE |BIGINT | X |
21
21
Spring Cloud Task Framework at app startup establishes the next available id as obtained from the `TASK_SEQ`. Or if the record is created outside of task then the value must be populated at record creation time.
22
22
23
-
|START_TIME |FALSE | DATETIME | X | Spring Cloud Task Framework at app startup establishes the value.
23
+
|START_TIME |FALSE | DATETIME(6) | X | Spring Cloud Task Framework at app startup establishes the value.
24
24
25
-
|END_TIME |FALSE | DATETIME | X | Spring Cloud Task Framework at app exit establishes the value.
25
+
|END_TIME |FALSE | DATETIME(6) | X | Spring Cloud Task Framework at app exit establishes the value.
26
26
27
27
|TASK_NAME |FALSE | VARCHAR | 100 | Spring Cloud Task Framework at app startup will set this to "Application" unless user establish the name using the `spring.application.name`.
28
28
@@ -32,7 +32,7 @@ Spring Cloud Task Framework at app startup establishes the next available id as
32
32
33
33
|ERROR_MESSAGE |FALSE | VARCHAR | 2500 | Spring Cloud Task Framework at app exit establishes the value.
34
34
35
-
|LAST_UPDATED |TRUE | DATETIME | X | Spring Cloud Task Framework at app startup establishes the value. Or if the record is created outside of task then the value must be populated at record creation time.
35
+
|LAST_UPDATED |TRUE | TIMESTAMP | X | Spring Cloud Task Framework at app startup establishes the value. Or if the record is created outside of task then the value must be populated at record creation time.
36
36
37
37
|EXTERNAL_EXECUTION_ID |FALSE | VARCHAR | 250 | If the `spring.cloud.task.external-execution-id` property is set then Spring Cloud Task Framework at app startup will set this to the value specified. More information can be found <<features-external_task_id,here>>
Once you have configured the `AmqpTemplate`, you can enable the batch capabilities to support it
97
97
by setting the following properties:
98
98
@@ -412,7 +412,8 @@ covers how to use autoconfiguration to configure a supported `ItemWriter`.
412
412
413
413
To write to a RabbitMQ queue, you need two sets of configuration. First, you need an
414
414
`AmqpTemplate`. The easiest way to get this is by using Spring Boot's
415
-
RabbitMQ autoconfiguration. See the https://docs.spring.io/spring-boot/docs/2.4.x/reference/htmlsingle/#boot-features-amqp[Spring Boot RabbitMQ documentation].
415
+
RabbitMQ autoconfiguration. See the https://docs.spring.io/spring-boot/docs/3.0.x/reference/htmlsingle/#messaging.amqp.rabbitmq[Spring Boot AMQP documentation].
416
+
416
417
Once you have configured the `AmqpTemplate`, you can configure the `AmqpItemWriter` by setting the
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/features.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,7 @@ To do so, add the process-aot execution and set `spring.cloud.task.single-step-i
399
399
400
400
To Enable Task Observations for `ApplicationRunner` or `CommandLineRunner` set `spring.cloud.task.observation.enabled` to true.
401
401
402
-
An example task application with observations enables using the `SimpleMeterRegistry` can be found https://github.com/spring-cloud/spring-cloud-task/tree/main/spring-cloud-task-samples/task-metrics[here].
402
+
An example task application with observations enables using the `SimpleMeterRegistry` can be found https://github.com/spring-cloud/spring-cloud-task/tree/main/spring-cloud-task-samples/task-observations[here].
403
403
404
404
=== Disabling Spring Cloud Task Auto Configuration
public static class HelloWorldCommandLineRunner implements CommandLineRunner {
98
+
public static class HelloWorldApplicationRunner implements ApplicationRunner {
96
99
97
100
@Override
98
-
public void run(String... strings) throws Exception {
101
+
public void run(ApplicationArguments args) throws Exception {
99
102
System.out.println("Hello, World!");
103
+
100
104
}
101
105
}
102
106
}
@@ -147,7 +151,7 @@ The main method serves as the entry point to any java application. Our main met
147
151
delegates to Spring Boot's https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-spring-application.html[SpringApplication] class.
148
152
149
153
[[getting-started-clr]]
150
-
==== The CommandLineRunner
154
+
==== The ApplicationRunner
151
155
152
156
Spring includes many ways to bootstrap an application's logic. Spring Boot provides
153
157
a convenient method of doing so in an organized manner through its `*Runner` interfaces
0 commit comments